[Bug tree-optimization/18241] [4.0 Regression] linux kernel loop gets miscompiled

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 3 21:10:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-03 21:10 -------
(In reply to comment #30)
(In reply to comment #31)
> I'm not sure if it's the root cause yet, or just an interesting rat hole, but
> we do not create any virtual operands for the *addr = <whatever> statement
> (or for any statement with volatile operands).

Note if I remove the volatile from the example in comment #30, then it works so it looks like that is 
root call because we don't know if we use the result of path[0].

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18241



More information about the Gcc-bugs mailing list