This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/46761] [4.6 Regression] -fgraphite-identity produces wrong code for array initialization arr[i] = i


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46761

--- Comment #4 from Zdenek Sojka <zsojka at seznam dot cz> 2010-12-06 21:23:00 UTC ---
(In reply to comment #3)
> Sometimes graphite generates wrong guards for regions.  The following patch
> fixes the attached testcase for me, but I have not tested it any further.

This patch fixes all failures except two:
FAIL: gcc.c-torture/execute/20100416-1.c execution,  -O1 (PR46758)
FAIL: gfortran.dg/array_constructor_12.f90  -Os  execution test (probably the
same as PR46758 ; I didn't run fortran testsuite for comment #1)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]