[Bug tree-optimization/39358] [4.4 regression] Wrong aliasing warning with lists
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 3 22:56:00 GMT 2009
------- Comment #2 from pinskia at gcc dot gnu dot org 2009-03-03 22:55 -------
Actually if you do inlining you end up with the cast happening to &node in this
case. Your reduced testcase is undefined because nothing can change y.prev
between the constructor and the call to back so you end up with accessing a
Node_base via a Node and there is no such data there.
The original testcase might not be, I have to look into the preprocessed source
and the tree dumps to figure out if you reduced the testcase too far or really
the original testcase is just undefined.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39358
More information about the Gcc-bugs
mailing list