[Bug regression/50472] Volatile qualification in data is not enough to avoid optimization over pointer to data
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 25 11:55:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50472
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011-09-25
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-25 11:52:49 UTC ---
CCP optimizes the load from the static const foo via fold_stmt. I will have a
look.
Folding statement: D.2758_2 ={v} *bar_1;
Folded into: D.2758_2 = 1;
More information about the Gcc-bugs
mailing list