http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49771
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49771
--- Comment #6 from irar at gcc dot gnu.org 2011-07-19 06:25:11 UTC ---
Author: irar
Date: Tue Jul 19 06:25:07 2011
New Revision: 176434
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176434
Log:
PR tree-optimization/49771
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49771
--- Comment #5 from Ira Rosen 2011-07-18 20:01:24 UTC
---
Right, the dependence analysis fails here:
(compute_affine_dependence
(stmt_a =
D.2713_5 = a[i_20];
)
(stmt_b =
a[j_19] = D.2714_6;
)
(subscript_dependence_tester
(analyze_overlapping
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49771
--- Comment #4 from Jakub Jelinek 2011-07-18
18:45:56 UTC ---
Yeah, that indeed fixes this testcase, and in addition keeps
static int a[2000];
int
foo (void)
{
int j;
int i;
for (i = 0; i < 1000; i++)
for (j = 0; j < 1000; j++)
a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49771
Ira Rosen changed:
What|Removed |Added
CC||irar at il dot ibm.com
--- Comment #3 from Ir
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49771
--- Comment #2 from Jakub Jelinek 2011-07-18
14:12:49 UTC ---
That commit looks bogus, the change it made is:
# ivtmp.37_45 = PHI
vect_pa.7_44 = (vector(4) int *) ivtmp.37_45;
- D.2731_1 = vect_pa.7_44 < &a;
- D.2733_14 = vect_pa.7_44 >
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49771
Richard Guenther changed:
What|Removed |Added
CC||rsandifo at gcc dot gnu.org
Target M
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49771
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|