This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19626] Aliasing says stores to local memory do alias
- 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: 25 Jan 2005 17:15:47 -0000
- Subject: [Bug tree-optimization/19626] Aliasing says stores to local memory do alias
- References: <20050125165629.19626.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-25 17:15 -------
If you had used the correct types in the first place instead of this crazy uninitialized pointer this works
(almost):
dX.D.2220.D.2170.domain_m.buffer[0].D.2098.D.2055.domain_m = 1;
dX.D.2220.D.2170.domain_m.buffer[1].D.2098.D.2055.domain_m = 0;
....
k.D.2220.D.2170.domain_m.buffer[0].D.2098.D.2055.domain_m = 0;
k.D.2220.D.2170.domain_m.buffer[1].D.2098.D.2055.domain_m = 1;
return k.D.2220.D.2170.domain_m.buffer[0].D.2098.D.2055.domain_m +
dX.D.2220.D.2170.domain_m.buffer[0].D.2098.D.2055.domain_m;
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Keywords| |alias, missed-optimization,
| |TREE
Priority|P2 |P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19626