This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Feb 2005 14:56:44 -0000
- Subject: [Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled
- References: <20050220230656.20115.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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