summaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorcrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-29 11:51:16 +0000
committercrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-29 11:51:16 +0000
commit90a0d63f4fb33d6cdf3cc04df1bf514e0d8287a3 (patch)
treef5a1e4e21eba0e06ca55166ab518d1cab184a4d7 /gcc/reload1.c
parent9bf1996d9ad4f67dd465c1c6f84ee78af358971d (diff)
downloadgcc-90a0d63f4fb33d6cdf3cc04df1bf514e0d8287a3.tar.gz
Fix bug in reloads_conflict
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30701 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 09044c9c55a..ac00812e832 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -5232,7 +5232,7 @@ reloads_conflict (r1, r2)
return (r2_type == RELOAD_FOR_INSN || r2_type == RELOAD_FOR_OUTPUT
|| ((r2_type == RELOAD_FOR_OUTPUT_ADDRESS
|| r2_type == RELOAD_FOR_OUTADDR_ADDRESS)
- && r2_opnum >= r1_opnum));
+ && r2_opnum <= r1_opnum));
case RELOAD_FOR_INSN:
return (r2_type == RELOAD_FOR_INPUT || r2_type == RELOAD_FOR_OUTPUT