summaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-31 13:43:22 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-31 13:43:22 +0000
commit4f3ad672c64e660663164f52e059f333eeeb687e (patch)
treebedccd1d4a5a881dc80c58035c3e232b4b8ac45b /gcc/reg-stack.c
parentea9184190b1fda04463153e6d0337817bf1499f2 (diff)
downloadgcc-4f3ad672c64e660663164f52e059f333eeeb687e.tar.gz
Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
* reg-stack (convert_regs_1): Fix best edge condition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44513 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r--gcc/reg-stack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index 342477cb329..54a8ab2472b 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -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)