This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/13761] [tree-ssa] component refs to the same struct should not alias
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2006 18:47:07 -0000
- Subject: [Bug tree-optimization/13761] [tree-ssa] component refs to the same struct should not alias
- References: <bug-13761-1008@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from rguenth at gcc dot gnu dot org 2006-01-28 18:47 -------
The copyprop enhancement patch I have in development handles the case where the
stores are not constant. I.e.
int tmp = 1;
f->s = tmp;
f->s2 = 2;
if (f->s != tmp)
link_error ();
and -fno-tree-ccp.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13761