This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31274] [4.1 Regression] gcc 4.1 side effect missed
- 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: 20 Mar 2007 06:34:01 -0000
- Subject: [Bug tree-optimization/31274] [4.1 Regression] gcc 4.1 side effect missed
- References: <bug-31274-14271@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-20 06:34 -------
Related to PR 20115. Though in this case we only get VUSE as all the variables
listed are really const which is why if you add a function which sets
for_stack_ptr, it works as for_stack_ptr is no longer const.
This works on the mainline for some reason, we just use GLOBAL_VAR.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |blocker
Summary|gcc 4.1 side effect missed |[4.1 Regression] gcc 4.1
| |side effect missed
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31274