(volatile operands might get thrown away though)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3652
4a8a32a2-be11-0410-ad9d-
d568d2c75423
* src/pic16/main.c (_process_pragma): fixed nasty malloc bug
(used sizeof(set *sectSyms) instead of sizeof(struct sectSym)),
this might fix SIGSEGVs on MinGW...
+ * src/SDCCopt.c (killDeadCode): restored original behaviour
+ (volatile operands might get thrown away though)
2005-01-23 Vangelis Rokas <vrokas AT otenet.gr>
if (IC_RESULT (ic) && isOperandVolatile (IC_RESULT (ic), FALSE))
continue;
- /* We also cannot remove the iCode, when an operand is volatile. */
- /* Even read access can cause side effects on some hardware registers! */
-
- /* if the left operand is volatile then continue */
- if (IC_LEFT(ic) && isOperandVolatile (IC_LEFT (ic), TRUE))
- continue;
-
-
/* if the result is a temp & isaddr then skip */
if (IC_RESULT (ic) && POINTER_SET (ic))
continue;