[Bug middle-end/57453] New: [4.9 Regression] ICE: in operator[], at vec.h:815 with gcc -O3 -fno-strict-aliasing

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 29 16:21:00 GMT 2013


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

            Bug ID: 57453
           Summary: [4.9 Regression] ICE: in operator[], at vec.h:815
                    with gcc -O3 -fno-strict-aliasing
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

Created attachment 30215
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30215&action=edit
Test case: gcc -O3 -fno-strict-aliasing -c test9.i

The attached test case fails with:

$ gcc -O3 -fno-strict-aliasing -c test9.i 

test9.i: In function 'mca_btl_tcp_frag_send':
test9.i:13:7: internal compiler error: in operator[], at vec.h:815
 _Bool mca_btl_tcp_frag_send(mca_btl_tcp_frag_t* frag, int sd)
       ^
0x52bc5c vec<void*, va_heap, vl_embed>::operator[](unsigned int)
        ../../gcc/vec.h:815
0x52bc5c vec<void*, va_heap, vl_ptr>::operator[](unsigned int)
        ../../gcc/vec.h:1244
0xb17354 vec<void*, va_heap, vl_ptr>::operator[](unsigned int)
        ../../gcc/gimple.h:1849
0xb17354 vinfo_for_stmt
        ../../gcc/tree-vectorizer.h:654
0xb17354 vect_bb_slp_scalar_cost
        ../../gcc/tree-vect-slp.c:1936



More information about the Gcc-bugs mailing list