[Bug tree-optimization/38180] CCP does not propagate through constant initializers
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 19 20:04:00 GMT 2008
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-11-19 20:02 -------
Visiting statement:
p_1 = &x;
which is likely CONSTANT
Lattice value changed to CONSTANT &x. Adding SSA edges to worklist.
Visiting statement:
y_2 = *p_1;
which is likely CONSTANT
Lattice value changed to VARYING. Adding SSA edges to worklist.
ccp_fold doesn't handle folding the initializer from *&x.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38180
More information about the Gcc-bugs
mailing list