This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/67816] [6 Regression] ICE in duplicate_thread_path, 186.crafty fails to build
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Oct 2015 08:35:14 +0000
- Subject: [Bug tree-optimization/67816] [6 Regression] ICE in duplicate_thread_path, 186.crafty fails to build
- Auto-submitted: auto-generated
- References: <bug-67816-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67816
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-10-05
CC| |trippels at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #9 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
A bit further reduced:
int a, c, d, e;
int b[10];
void fn1() {
int i, f = 0;
for (;;) {
i = 0;
for (; i < a; i++)
if (c) {
if (b[i])
f = 1;
} else if (b[i])
f = 0;
if (f)
d++;
while (e)
;
}
}
Confirmed on ppc64le. Only happens with checking=release.