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

            Bug ID: 58911
           Summary: ice in operator[], at vec.h:827
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

Following on from bug # 54327, I compiled
the attached source code with gcc trunk dated 20131027
with flag -O2.

It said

htslib.c: In function ‘x_escape_http’:
htslib.c:3804:7: internal compiler error: in operator[], at vec.h:827
0xb8fa27 vec<operand_entry*, va_heap, vl_embed>::operator[](unsigned int)
    ../../src/trunk/gcc/vec.h:827
0xb91572 vec<operand_entry*, va_heap, vl_embed>::operator[](unsigned int)
    ../../src/trunk/gcc/tree.h:2792
0xb91572 vec<operand_entry*, va_heap, vl_ptr>::operator[](unsigned int)
    ../../src/trunk/gcc/vec.h:1256
0xb91572 update_ops
    ../../src/trunk/gcc/tree-ssa-reassoc.c:2619
0xb9999f maybe_optimize_range_tests
    ../../src/trunk/gcc/tree-ssa-reassoc.c:2907
0xb9999f reassociate_bb
    ../../src/trunk/gcc/tree-ssa-reassoc.c:4325
0xb98eb7 reassociate_bb
    ../../src/trunk/gcc/tree-ssa-reassoc.c:4482
0xb9b7ab do_reassoc
    ../../src/trunk/gcc/tree-ssa-reassoc.c:4515
0xb9b7ab execute_reassoc
    ../../src/trunk/gcc/tree-ssa-reassoc.c:4597
0xb9b7ab execute
    ../../src/trunk/gcc/tree-ssa-reassoc.c:4639
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to