diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-04 22:35:46 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-04 22:35:46 +0000 |
commit | 08e46c249354fd3a7ce07ec7d6e6aec80f9d8e41 (patch) | |
tree | 02bd58e0d77c5bf6d86c09b38601b0e1c573e087 /gcc/reload.c | |
parent | a969e4b30bfe4dfbec01c97d2652768b3b2da81f (diff) | |
download | gcc-08e46c249354fd3a7ce07ec7d6e6aec80f9d8e41.tar.gz |
* reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno,
against FIRST_PSEUDO_REGISTER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77276 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 92c3c47a2b8..ea5b6f50f94 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -6188,7 +6188,7 @@ refers_to_regno_for_reload_p (unsigned int regno, unsigned int endregno, { unsigned int inner_regno = subreg_regno (x); unsigned int inner_endregno - = inner_regno + (inner_regno < FIRST_PSEUDO_REGISTER + = inner_regno + (regno < FIRST_PSEUDO_REGISTER ? hard_regno_nregs[regno][GET_MODE (x)] : 1); return endregno > inner_regno && regno < inner_endregno; |