[Bug tree-optimization/19828] [4.0 Regression] LIM is pulling out a pure function even though there is something which can modify global memory

drow at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 14 08:18:00 GMT 2005


------- Additional Comments From drow at gcc dot gnu dot org  2005-02-13 20:13 -------
I've suggested when talking to someone else about this that they should be
assumed not to trap at the points where they are called.  That would allow
calls to them to be removed, although still limit code motion.

It's a pity there's no rigorous definition of the current meaning of pure.

-- 


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



More information about the Gcc-bugs mailing list