[Bug target/82713] New: [8 Regression] ICE in ix86_builtin_vectorization_cost, at config/i386/i386.c:44475

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 25 08:12:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82713

            Bug ID: 82713
           Summary: [8 Regression] ICE in ix86_builtin_vectorization_cost,
                    at config/i386/i386.c:44475
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: hubicka at ucw dot cz
  Target Milestone: ---

Starting from r254012, we ICE on:

$ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr51000.c 
-O3 -mavx512bw -c
during GIMPLE pass: vect
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr51000.c: In function
‘foo’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr51000.c:7:1: internal
compiler error: in ix86_builtin_vectorization_cost, at config/i386/i386.c:44475
 foo ()
 ^~~
0x1402a01 ix86_builtin_vectorization_cost
        ../../gcc/config/i386/i386.c:44475
0x125f19a builtin_vectorization_cost
        ../../gcc/tree-vectorizer.h:968
0x125f5ac record_stmt_cost(vec<stmt_info_for_cost, va_heap, vl_ptr>*, int,
vect_cost_for_stmt, _stmt_vec_info*, int, vect_cost_model_location)
        ../../gcc/tree-vect-stmts.c:112
0x12a6b0f vect_analyze_slp_cost_1
        ../../gcc/tree-vect-slp.c:1815
0x12a64c1 vect_analyze_slp_cost_1
        ../../gcc/tree-vect-slp.c:1688
0x12a64c1 vect_analyze_slp_cost_1
        ../../gcc/tree-vect-slp.c:1688
0x12a64c1 vect_analyze_slp_cost_1
        ../../gcc/tree-vect-slp.c:1688
0x12a6de5 vect_analyze_slp_cost
        ../../gcc/tree-vect-slp.c:1874
0x12a8f7b vect_slp_analyze_operations(vec_info*)
        ../../gcc/tree-vect-slp.c:2675
0x128712b vect_analyze_loop_2
        ../../gcc/tree-vect-loop.c:2034
0x12880b4 vect_analyze_loop(loop*, _loop_vec_info*)
        ../../gcc/tree-vect-loop.c:2354
0x12b177a vectorize_loops()
        ../../gcc/tree-vectorizer.c:685
0x116eed9 execute
        ../../gcc/tree-ssa-loop.c:414


More information about the Gcc-bugs mailing list