This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/69823] [6/7 Regression] internal compiler error: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:445
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 31 Aug 2016 23:35:22 +0000
- Subject: [Bug tree-optimization/69823] [6/7 Regression] internal compiler error: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:445
- Auto-submitted: auto-generated
- References: <bug-69823-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69823
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vries at gcc dot gnu.org
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
Test-case minimized from PR68279:
...
void
foo (int c, int *p, int *a1, int *a2, int *a3)
{
int i;
if (c)
{
for (i = 0; i < 8; i++)
a1[i] = 1;
if (*p)
*a2 = 0;
}
for (i = 0; i < 8; i++)
a3[i] = 0;
}
...
Fails on x86_64:
...
$ gcc pr-graphite.c -O2 -fgraphite-identity
pr-graphite.c: In function ‘foo’:
pr-graphite.c:2:1: internal compiler error: in create_pw_aff_from_tree, at
graphite-sese-to-poly.c:445
...