2008-02-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (expandInlineFuncs): fixed bug 1875869
+ * src/SDCCglue.c (printIvalBitFields): fixed bug 1806631
+ * support/regression/tests/bitopcse.c: removed hc08 exception, see testfwk.h
+ * support/Util/MySystem.c (my_system): output errorcode when verbose
2008-02-22 Philipp Klaus Krause <pkk AT spth.de>
(IS_BITFIELD(lsym->next->type)) &&
(SPEC_BSTR(lsym->next->etype)))) break;
lsym = lsym->next;
- lilist = lilist->next;
+ lilist = lilist ? lilist->next : NULL;
} while (1);
switch (size) {
case 1:
case 2:
dbuf_tprintf (oBuf, "\t!dw !constword\n",ival);
break;
- case 4: /* EEP: why is this db and not dw? */
- dbuf_tprintf (oBuf, "\t!db !constword,!constword\n",
- (ival >> 8) & 0xffff, (ival & 0xffff));
+ case 4:
+ dbuf_tprintf (oBuf, "\t!dw !constword,!constword\n",
+ (ival >> 16) & 0xffff, (ival & 0xffff));
break;
}
*sym = lsym;
sym->rname,
SPEC_ADDR (sym->etype));
}
- else {
+ else
+ {
int size = getSize(sym->type);
if (size==0) {