This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29716] [4.2/4.3 Regression] Wrong code with arrays
- 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: 4 Nov 2006 22:07:03 -0000
- Subject: [Bug tree-optimization/29716] [4.2/4.3 Regression] Wrong code with arrays
- References: <bug-29716-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2006-11-04 22:07 -------
Confirmed. In final cleanup we have
main ()
{
int a[3];
int D.1620;
<bb 2>:
a[0] = 0;
D.1620 = t + 1;
a[2] = D.1620;
a[1] = D.1620;
if (D.1620 != 1) goto <L3>; else goto <L4>;
<L3>:;
abort ();
<L4>:;
exit (0);
}
!?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-11-04 22:07:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29716