[Bug tree-optimization/34458] [4.3 Regression] ICE in int_cst_value, at tree.c:8047 at -O3

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 27 15:42:00 GMT 2007



------- Comment #6 from reichelt at gcc dot gnu dot org  2007-12-27 15:42 -------
Confirmed. Even shorter testcase:

======================================
struct A
{
  int x[8];
};

void foo(struct A* p, long long j)
{
  int i;
  for (i = 0; i < 2; ++i)
    p->x[i+j+1] = p->x[i+j];
}
======================================

The bug appeared for i686-pc-linux-gnu between 2007-06-16 and 2007-05-13.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |monitored
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-27 15:42:13
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34458



More information about the Gcc-bugs mailing list