[Patch, fortran] PR24524 - Fortran dependency checking should reverse loops

Dominique Dhumieres dominiq@lps.ens.fr
Thu Jun 17 18:25:00 GMT 2010


Paul,

+      if (reverse_loop)
+	{
+	  tmp = loop->from[n];
+	  loop->from[n] = loop->to[n];
+	  loop->to[n] = tmp;
+	}

Shouldn't you negate the stride here?

Cheers

Dominique



More information about the Fortran mailing list