This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/29716] [4.2/4.3 Regression] Wrong code with arrays



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]