This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Mar 2010 10:45:02 -0000
- Subject: [Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90
- References: <bug-42181-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #25 from dominiq at lps dot ens dot fr 2010-03-20 10:45 -------
> We are executing the range [scat_1+1, T_10-2] before executing the
> range [0, scat_1-1].
Do you understand why graphite does not detect that the loop for [scat_1+1,
T_10-2] depends on the one for [0, scat_1-1]?
Second question why does graphite exchange the order of the split loops?
Note also that in the original loop handling the loop for [0, scat_1-1] is
tricky when scat_1==1 (fctr = fctr1*fctr2 and fctr2 = -o*fctr2 must be handled
correctly).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42181