This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/46761] [4.6 Regression] -fgraphite-identity produces wrong code for array initialization arr[i] = i
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 6 Dec 2010 21:23:03 +0000
- Subject: [Bug middle-end/46761] [4.6 Regression] -fgraphite-identity produces wrong code for array initialization arr[i] = i
- Auto-submitted: auto-generated
- References: <bug-46761-4@http.gcc.gnu.org/bugzilla/>
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)