https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83480
Arseny Solokha <asolokha at gmx dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc-*-linux-gnu | Summary|[8 Regression] ICE in |[8 Regression] ICE in |create_block_for_bookkeepin |create_block_for_bookkeepin |g, at sel-sched.c:4557 on |g, at sel-sched.c:4557 |32-bit BE powerpc target | --- Comment #2 from Arseny Solokha <asolokha at gmx dot com> --- This is not target-specific. The following snippet compiled w/ -g -O2 (-O3, -Ofast) -fselective-scheduling2 -ftree-vectorize -freorder-blocks-algorithm=simple -fnon-call-exceptions -fno-guess-branch-probability -fno-peephole2 -fno-tree-sink -fno-tree-scev-cprop reproduces the issue for x86_64: signed char jx, dl; void m9 (int zk, int f9) { for (jx = 1; jx != 0; ++jx) { } for (;;) { int wj; dl %= (f9 != 0 && jx != 0) + 1; if (jx != 0) f9 = dl; for (wj = 0; wj < 50; ++wj) ++zk; if (jx < 1) { while (zk != 0) { } jx /= 0; } } }