This is the mail archive of the gcc-patches@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]

Re: loop-iv bugfix


Zdenek Dvorak wrote:
Index: loop-iv.c
===================================================================
--- loop-iv.c	(revision 122288)
+++ loop-iv.c	(working copy)
@@ -1811,6 +1811,8 @@ simplify_using_initial_values (struct lo
 	      FREE_REG_SET (altered);
 	      return;
 	    }
+	  if (for_each_rtx (expr, altered_reg_used, altered))
+	    return;

FREE_REG_SET (altered); is missing here.

I'll fix that - just at the moment adding it seems to cause a gfortran failure on my machine, so it'll take a bit to figure out what's going on there.



Bernd -- This footer brought to you by insane German lawmakers. Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen Registergericht Muenchen HRB 40368 Geschaeftsfuehrer Thomas Wessel, Vincent Roche, Joseph E. McDonough


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