]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jun 2010 11:36:11 +0000 (11:36 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jun 2010 11:36:11 +0000 (11:36 +0000)
set->regs[i] is NULL or has just one entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160217 138bc75d-0d04-0410-961f-82ee72b054a4

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));