This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/28410] [4.2 Regression] Wrong aliasing with global var grouping during call clobbering
- From: "dnovillo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2006 13:25:16 -0000
- Subject: [Bug tree-optimization/28410] [4.2 Regression] Wrong aliasing with global var grouping during call clobbering
- References: <bug-28410-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dnovillo at gcc dot gnu dot org 2006-07-18 13:25 -------
Testing patch. The bug was in the alias pruning code. We need to handle
.GLOBAL_VAR in access_can_touch_variable. A memory reference that uses a
call-clobbered memory tag should always be considered to touch .GLOBAL_VAR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28410