[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 22 19:50:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-22 14:56 -------
> For pure calls the code would need to invalidate
> all recorded pure calls whenever a stmt might modify global state.
Yes this was done with GLOBAL_VAR before Diego's patch but now it is not done with anything else.  
This is basically the same issue as PR 20100.

-- 


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



More information about the Gcc-bugs mailing list