]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if ...
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 3 Jun 2010 11:36:11 +0000 (13:36 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 3 Jun 2010 11:36:11 +0000 (13:36 +0200)
* var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if
set->regs[i] is NULL or has just one entry.

From-SVN: r160217

gcc/var-tracking.c

index 76cd7f85b1949669e968d5a35cbbee68e40c3407..03961ea5c034625f940f6a53197cb0fedce73331 100644 (file)
@@ -3695,8 +3695,8 @@ dataflow_set_equiv_regs (dataflow_set *set)
       rtx canon[NUM_MACHINE_MODES];
 
       /* If the list is empty or one entry, no need to canonicalize
-        anything.  */
-      if (set->regs[i] == NULL || set->regs[i]->next == NULL)
+        anything.  */
+      if (set->regs[i] == NULL || set->regs[i]->next == NULL)
        continue;
 
       memset (canon, 0, sizeof (canon));