projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCCcse.c (cseBBlock): retain assignment to self when volatile
[fw/sdcc]
/
src
/
SDCCcse.c
diff --git
a/src/SDCCcse.c
b/src/SDCCcse.c
index 1e07bb45572b067f83df969f7e56c90abfd3f9de..05c6e2e6ca5fa892d86a3accdec7452e07848938 100644
(file)
--- a/
src/SDCCcse.c
+++ b/
src/SDCCcse.c
@@
-2057,7
+2057,7
@@
cseBBlock (eBBlock * ebb, int computeOnly,
/* if after all this it becomes an assignment to self
then delete it and continue */
- if (ASSIGNMENT_TO_SELF (ic))
+ if (ASSIGNMENT_TO_SELF (ic)
&& !isOperandVolatile (IC_RIGHT(ic), FALSE)
)
{
remiCodeFromeBBlock (ebb, ic);
continue;