https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81832
Bug ID: 81832 Summary: ICE in expand_LOOP_DIST_ALIAS, at internal-fn.c:2273 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: antoine.balestrat at gmail dot com Target Milestone: --- Hello ! I'm using a freshly built version of GCC (gcc version 8.0.0 20170812) : $ cat tested.c int a, b, *c; void d(void) { int **e; for(;;) for(int f = 1; f <= 6; f++) { b = 0; if(a) g: while(a++); if (**e); else { *c = a; goto g; } } } $ xgcc -O3 -c tested.c during RTL pass: expand tested.c: In function ādā: tested.c:2:6: internal compiler error: in expand_LOOP_DIST_ALIAS, at internal-fn.c:2273 void d(void) ^ 0x958807 expand_LOOP_DIST_ALIAS ../../srcdir/gcc/internal-fn.c:2273 0x724bf7 expand_call_stmt ../../srcdir/gcc/cfgexpand.c:2577 0x724bf7 expand_gimple_stmt_1 ../../srcdir/gcc/cfgexpand.c:3585 0x724bf7 expand_gimple_stmt ../../srcdir/gcc/cfgexpand.c:3751 0x726957 expand_gimple_basic_block ../../srcdir/gcc/cfgexpand.c:5753 0x72cb7e execute ../../srcdir/gcc/cfgexpand.c:6360 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.