aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2010-06-03 13:36:11 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-06-03 13:36:11 +0200
commite2cc34833f35bfcdcac58d0b348900636f54c6f1 (patch)
tree4da80e843ba65e15d304f423da28f36caa4f3cf1 /gcc
parent193d4c0f78db7d9e50dff16339647bafb76f92a4 (diff)
downloadgcc-e2cc34833f35bfcdcac58d0b348900636f54c6f1.zip
gcc-e2cc34833f35bfcdcac58d0b348900636f54c6f1.tar.gz
gcc-e2cc34833f35bfcdcac58d0b348900636f54c6f1.tar.bz2
var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if ...
* var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if set->regs[i] is NULL or has just one entry. From-SVN: r160217
Diffstat (limited to 'gcc')
-rw-r--r--gcc/var-tracking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
index 76cd7f8..03961ea 100644
--- a/gcc/var-tracking.c
+++ b/gcc/var-tracking.c
@@ -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));