> cat bug.cc
int buf[256 * 9];
void f() {
        for (int i = 0; i < 256; ++i) {
                for (int j = 0; j < 8; ++j) {
                        buf[j + 1] = 0;
                }
        }
}

> g++ -O3 -ftree-loop-linear bug.cc
bug.cc: In function 'void f()':
bug.cc:2: internal compiler error: in int_cst_value, at tree.c:7684


I'm using SVN revision 122952


-- 
           Summary: ICE in int_cst_value, at tree.c:7684   with -O3 -ftree-
                    loop-linear
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wouter dot vermaelen at pi dot be


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

Reply via email to