This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/81374] New: [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Jul 2017 08:04:44 +0000
- Subject: [Bug tree-optimization/81374] New: [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81374
Bug ID: 81374
Summary: [8 Regression] ICE in bb_top_order_cmp, at
tree-loop-distribution.c:391
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: amker at gcc dot gnu.org
Target Milestone: ---
Starting from r249985 we ICE on:
$ gcc
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx2-vec-mask-bit-not.c
-O3 -fno-tree-scev-cprop
during GIMPLE pass: ldist
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx2-vec-mask-bit-not.c:
In function ‘test’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx2-vec-mask-bit-not.c:11:1:
internal compiler error: in bb_top_order_cmp, at tree-loop-distribution.c:484
test (void)
^~~~
0xc36db0 bb_top_order_cmp
../../gcc/tree-loop-distribution.c:483
0x74dbc4 get_loop_body_in_custom_order(loop const*, int (*)(void const*, void
const*))
../../gcc/cfgloop.c:914
0xc3832b stmts_from_loop
../../gcc/tree-loop-distribution.c:501
0xc3832b build_rdg
../../gcc/tree-loop-distribution.c:562
0xc3a220 distribute_loop
../../gcc/tree-loop-distribution.c:2386
0xc3d454 execute
../../gcc/tree-loop-distribution.c:2713
Probably the same also happens for:
$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-vpunpckldq-2.c
-fno-tree-scev-cprop -mavx512vl -fno-tree-sink -O3
during GIMPLE pass: ldist
In file included from
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-vpunpckldq-2.c:7:0:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-vpunpckldq-2.c:
In function ‘test_512’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-helper.h:108:19:
internal compiler error: in bb_top_order_cmp, at tree-loop-distribution.c:484
#define TEST EVAL(test_, AVX512F_LEN,)
^~~~~
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-helper.h:36:23:
note: in definition of macro ‘CONCAT’
#define CONCAT(a,b,c) a ## b ## c
^
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-helper.h:108:14:
note: in expansion of macro ‘EVAL’
#define TEST EVAL(test_, AVX512F_LEN,)
^~~~
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-vpunpckldq-2.c:26:1:
note: in expansion of macro ‘TEST’
TEST (void)
^~~~
0xc36db0 bb_top_order_cmp
../../gcc/tree-loop-distribution.c:483
0x74dbc4 get_loop_body_in_custom_order(loop const*, int (*)(void const*, void
const*))
../../gcc/cfgloop.c:914
0xc3832b stmts_from_loop
../../gcc/tree-loop-distribution.c:501
0xc3832b build_rdg
../../gcc/tree-loop-distribution.c:562
0xc3a220 distribute_loop
../../gcc/tree-loop-distribution.c:2386
0xc3d454 execute
../../gcc/tree-loop-distribution.c:2713
Please submit a full bug report,