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

            Bug ID: 68413
           Summary: [GCC6] internal compiler error: in vect_transform_stmt
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ienkovich at gcc dot gnu.org
  Target Milestone: ---

Created attachment 36756
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36756&action=edit
Reproducer

Simple reduction in COND_EXPR causes ICE.

>gcc -O3 -mavx2 cond-reduc.c
cond-reduc.c: In function 'test':
cond-reduc.c:5:5: internal compiler error: in vect_transform_stmt, at
tree-vect-stmts.c:8049
 int test (int c)
     ^~~~

0x1009352 vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*,
_slp_tree*, _slp_instance*)
       
/gnumnt/msticlxl7_users/ienkovic/issues/avx-512/gcc/gcc/tree-vect-stmts.c:8049
0x10203c8 vect_transform_loop(_loop_vec_info*)
       
/gnumnt/msticlxl7_users/ienkovic/issues/avx-512/gcc/gcc/tree-vect-loop.c:6793
0x1036b54 vectorize_loops()
       
/gnumnt/msticlxl7_users/ienkovic/issues/avx-512/gcc/gcc/tree-vectorizer.c:548
0xf1f089 execute
       
/gnumnt/msticlxl7_users/ienkovic/issues/avx-512/gcc/gcc/tree-ssa-loop.c:273
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