git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@498
4a8a32a2-be11-0410-ad9d-
d568d2c75423
/* otherwise just copy the type information */
COPYTYPE(TTYPE(tree),TETYPE(tree),tree->opval.val->type);
+ if (funcInChain(tree->opval.val->type)) {
+ tree->hasVargs = tree->opval.val->sym->hasVargs;
+ tree->args = copyValueChain(tree->opval.val->sym->args) ;
+ }
return tree ;
}
/* update the spill location for this */
updateSpillLocation (ic);
- if (POINTER_SET(ic)) {
+ if (POINTER_SET(ic) &&
+ !(IS_BITFIELD(OP_SYMBOL(IC_RESULT(ic))->etype))) {
pdop = NULL ;
applyToSetFTrue (cseSet,findCheaperOp,IC_RESULT(ic),&pdop);
if (pdop && IS_ITEMP(pdop) && !computeOnly)
else /* does not fit */
{
bitOffset = 0 ;
- loop->offset++; /* go to the next byte */
- sum++ ;
SPEC_BSTR(loop->etype) = bitOffset ;
sum += (loop->bitVar / 8) ;
bitOffset += (loop->bitVar % 8);