This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14470] x86 optimizer error (?)
- 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: 8 Mar 2004 00:57:31 -0000
- Subject: [Bug c/14470] x86 optimizer error (?)
- References: <20040307221314.14470.lvoge@cs.vu.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-08 00:57 -------
Let me re-explain myself.
The problem is that d gets modified before the asignment back to t[d]. This what is expanded on the
tree-ssa, see how the modification of d happens before the assignment back to t[d].
T.1 = t[d];
d = T.1;
T.2 = T.1 + 1;
t[d] = T.2;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14470