]> gcc.gnu.org Git - gcc.git/commitdiff
Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
authorJan Hubicka <jh@suse.cz>
Tue, 31 Jul 2001 13:43:22 +0000 (15:43 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 31 Jul 2001 13:43:22 +0000 (13:43 +0000)
* reg-stack (convert_regs_1): Fix best edge condition.

From-SVN: r44513

gcc/ChangeLog
gcc/reg-stack.c

index 461b9023af3154406165b04dc67ddf16f4c420af..f5adc890cc507dfd99b0409e9b0834595c296630 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jul 31 15:37:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * reg-stack (convert_regs_1): Fix best edge condition.
+
 Tue Jul 31 15:33:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
        * jump.c (duplicate_loop_exit_test): Better test for jumps
index 342477cb3295bab84ac28027690578615a166523..54a8ab2472b39fecbcd7a9e9f63a74af87f35436 100644 (file)
@@ -2630,6 +2630,8 @@ convert_regs_1 (file, block)
        beste = e;
       else if (EDGE_FREQUENCY (beste) < EDGE_FREQUENCY (e))
        beste = e;
+      else if (EDGE_FREQUENCY (beste) > EDGE_FREQUENCY (e))
+       ;
       else if (beste->count < e->count)
        beste = e;
       else if (beste->count > e->count)
This page took 0.07201 seconds and 5 git commands to generate.