This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/39358] [4.4 regression] Wrong aliasing warning with lists



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]