https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83323
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83323
Michael Matz changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |matz at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83323
--- Comment #5 from Richard Biener ---
Fails with -O2 -funroll-and-jam --param unroll-jam-min-percent=0
int x[1024], y[1024];
void __attribute__((noipa)) foo ()
{
for (int i = 0; i < 1024; ++i)
{
x[i] = 0;
for (int j = 0; j <
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83323
--- Comment #4 from Richard Biener ---
Testcase:
int x[1024], y[1024];
void __attribute__((noipa)) foo ()
{
for (int i = 0; i < 1024; ++i)
{
x[i] = 0;
for (int j = 0; j < 1024; ++j)
if (y[j])
x[i] = y[j];
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83323
--- Comment #3 from Richard Biener ---
-O2 -funroll-and-jam miscompares.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83323
ktkachov at gcc dot gnu.org changed:
What|Removed |Added
Target|x86_64-*-* |x86_64-*-*,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83323
Richard Biener changed:
What|Removed |Added
CC||matz at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83323
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |8.0