https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79125
Bug ID: 79125
Summary: [7 Regression] ICE in rtl_verify_bb_insns, at
cfgrtl.c:2661 (error: flow control insn inside a basic
block)
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
Target Milestone: ---
Target: powerpc-*-linux-gnu*
gcc-7.0.0-alpha20170115 snapshot ICEs when compiling the following snippet w/
-O2 or -O3:
int za;
void
hl (void)
{
short int o8 = 0;
short int m6 = 1;
short int *ni = &m6;
for (;;)
{
int af;
short int *fd = (short int *)∋
if (ni != 0)
{
if (m6 != 0)
*ni = 0;
else
za = 0;
af = (o8 * o8) || o8;
if (af == 0)
m6 /= 0;
while (za != 0)
{
}
}
*fd = &o8;
for (af = 0; af < 2; ++af)
af = za;
}
}
% powerpc-e300c3-linux-gnu-gcc-7.0.0-alpha20170115 -O2 -w -c aqluuplt.c