The attached code ICE's with the mainline, but not gcc 4.1.1 or 4.0.3.

> gcc -O1 -ftree-vectorize -c a.c
a.c: In function ‘o’:
a.c:4: internal compiler error: tree check: accessed operand 2 of nop_expr with
1 operands in analyze_siv_subscript_cst_affine, at tree-data-ref.c:2335

> gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc420/configure --prefix=/usr/local/gcc420
--enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.2.0 20060525 (experimental)


-- 
           Summary: ICE at tree-data-ref.c:2335 when using -ftree-vectorize
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: p dot vanhoof at oma dot be


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

Reply via email to