+2003-08-13 Bernhard Held <bernhard@bernhardheld.de>
+
+ Fixed bug #787649 by anonymous
+ * src/SDCCglue.c (emitRegularMap): added emission of sloc for func ptr
+ * src/ds390/gen.c (aopForSym): fixed func ptr in sloc
+
2003-08-14 Erik Petrich <epetrich@ivorytower.norman.ok.us>
Fixed numerous bitfield problems.
* src/mcs51/gen.c (genPackBits, genUnpackBits): fixed mask bugs
* src/ds390/gen.c (genPackBits, genUnpackBits): fixed mask bugs
* support/regression/tests/bitfields.c: tests added
-
+
2003-08-13 Erik Petrich <epetrich@ivorytower.norman.ok.us>
Made the constant following the "interrupt" keyword optional. If
/* if extern then do nothing or is a function
then do nothing */
- if (IS_FUNC (sym->type))
+ if (IS_FUNC (sym->type) && !(sym->isitmp))
continue;
/* print extra debug info if required */
}
/* special case for a function */
- if (IS_FUNC (sym->type))
+ if (IS_FUNC (sym->type) && !(sym->isitmp))
{
sym->aop = aop = newAsmop (AOP_IMMD);
- aop->aopu.aop_immd.aop_immd1 = Safe_strdup(sym->rname);
+ aop->aopu.aop_immd.aop_immd1 = Safe_strdup(sym->rname);
aop->size = FPTRSIZE;
return aop;
}
-
+
/* only remaining is far space */
/* in which case DPTR gets the address */
sym->aop = aop = newAsmop ((short) (useDP2 ? AOP_DPTR2 : AOP_DPTR));