This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/69352] [6 Regression] profiledbootstrap failure with --with-build-config=bootstrap-lto
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Jan 2016 08:35:37 +0000
- Subject: [Bug bootstrap/69352] [6 Regression] profiledbootstrap failure with --with-build-config=bootstrap-lto
- Auto-submitted: auto-generated
- References: <bug-69352-4 at http dot gcc dot gnu dot org/bugzilla/>
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;
}