[Bug bootstrap/69352] [6 Regression] profiledbootstrap failure with --with-build-config=bootstrap-lto
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 19 08:35:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69352
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reproduces with -O1 on x86_64-linux too. Slightly cleaned up testcase:
int a[10][14], b, c, d, e, f, g, h, i;
void bar (void);
int
foo (int x)
{
unsigned j;
int k = 0, l;
int m;
if (h)
m = 12;
else
m = 13;
if (a[x][m])
l = (long) foo;
a[x][i] = l;
while (c)
{
if (b)
{
if (f)
k = 1;
bar ();
}
for (; d;)
j++;
}
while (c)
{
if (a[x][12])
{
if (g)
k = 1;
j++;
}
c = e;
}
return k;
}
More information about the Gcc-bugs
mailing list