This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/68715] [6 Regression] ice: in harmful_stmt_in_region, at graphite-scop-detection.c:1043
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Feb 2016 10:49:46 +0000
- Subject: [Bug tree-optimization/68715] [6 Regression] ice: in harmful_stmt_in_region, at graphite-scop-detection.c:1043
- Auto-submitted: auto-generated
- References: <bug-68715-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68715
--- Comment #5 from ktkachov at gcc dot gnu.org ---
Another testcase:
int a, b, c, d, f, g;
int e[1], h[1];
void fn2 ();
void fn3 ();
void
fn1 ()
{
fn2 ();
b = 0;
for (; b < 10; b++)
;
}
void
fn2 ()
{
if (a)
{
fn3 ();
c = d;
}
}
void
fn3 ()
{
for (; g; g++)
e[g] = 2;
if (f)
for (; g; g++)
h[g] = 5;
}