diff options
author | Hiroaki Etoh <etoh@cvs.openbsd.org> | 2005-01-24 01:41:07 +0000 |
---|---|---|
committer | Hiroaki Etoh <etoh@cvs.openbsd.org> | 2005-01-24 01:41:07 +0000 |
commit | 0759a00b482f430044d4585e17f13e1fd88f4a81 (patch) | |
tree | 07b6d93d2286a73ef63873d4323a033ea3a44df9 /gnu/usr.bin | |
parent | 19288e82a02b76b531182b284568d9730b03a2ff (diff) |
add the availability check of reg_renumber array.
ok pvalchev@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/protector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/protector.c b/gnu/usr.bin/gcc/gcc/protector.c index 7a95a6880a0..f7b08ecbbd2 100644 --- a/gnu/usr.bin/gcc/gcc/protector.c +++ b/gnu/usr.bin/gcc/gcc/protector.c @@ -2418,7 +2418,7 @@ push_frame_in_operand (insn, orig, push_size, boundary) && GET_CODE (XEXP (x, 1)) == REG && fp_equiv[REGNO (XEXP (x, 1))]) if (REGNO (XEXP (x, 0)) <= LAST_VIRTUAL_REGISTER - || reg_renumber[REGNO (XEXP (x, 0))] > 0) + || reg_renumber != 0 && reg_renumber[REGNO (XEXP (x, 0))] > 0) fp_equiv[REGNO (XEXP (x, 0))] = fp_equiv[REGNO (XEXP (x, 1))]; break; |