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/20115] [4.0 Regression] Pure functions are mishandled


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


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