git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@138
4a8a32a2-be11-0410-ad9d-
d568d2c75423
}
/* now get rid of the pointer part */
}
/* now get rid of the pointer part */
- if (lvaluereq && IS_ITEMP(op))
+ if (lvaluereq && IS_ITEMP(op) && !IS_PTR(optype->next))
+ {
retype = getSpec(rtype = copyLinkChain(optype)) ;
retype = getSpec(rtype = copyLinkChain(optype)) ;
retype = getSpec(rtype = copyLinkChain(optype->next)) ;
retype = getSpec(rtype = copyLinkChain(optype->next)) ;
/* if this is a pointer then outputclass needs 2b updated */
if (IS_PTR(optype))
/* if this is a pointer then outputclass needs 2b updated */
if (IS_PTR(optype))