diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-31 13:43:22 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-31 13:43:22 +0000 |
commit | 4f3ad672c64e660663164f52e059f333eeeb687e (patch) | |
tree | bedccd1d4a5a881dc80c58035c3e232b4b8ac45b /gcc/reg-stack.c | |
parent | ea9184190b1fda04463153e6d0337817bf1499f2 (diff) | |
download | gcc-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.c | 2 |
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) |