https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120167
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|ipa |testsuite
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I am 99% sure this is just a testsuite issue:
```
void parloop (int N)
{
int i;
for (i = 0; i < N; i++)
x[i] = i + 1;
for (i = 0; i < N; i++)
x[i] = i + 3;
for (i = 0; i < N; i++)
{
if (x[i] != i + 3)
abort ();
}
}
int main(void)
{
parloop(10000000);
return 0;
}
```
We are now either inline parloop and/or doing a clone.
So maybe add the noclone noinline attribute to parloop will fix the testcase.
I don't test with graphite enabled so ...