diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-15 20:08:43 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-15 20:08:43 +0000 |
commit | 0b3fe24bf2ea77f1a9afdbc1ce29085fa09cbeb2 (patch) | |
tree | ff75b5886e4098fc54e9cc257274e59919c0a3fd /gcc/caller-save.c | |
parent | 35f198f29a447426e88b333100b4d861f8d2cbf9 (diff) | |
download | gcc-0b3fe24bf2ea77f1a9afdbc1ce29085fa09cbeb2.tar.gz |
PR target/32963
caller-save.c (reg_save_code): Set invalide status on restore code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127523 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/caller-save.c')
-rw-r--r-- | gcc/caller-save.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/caller-save.c b/gcc/caller-save.c index 82672e0c915..26ac50eadd1 100644 --- a/gcc/caller-save.c +++ b/gcc/caller-save.c @@ -113,6 +113,7 @@ reg_save_code (int reg, enum machine_mode mode) if (!HARD_REGNO_MODE_OK (reg, mode)) { cached_reg_save_code[reg][mode] = -1; + cached_reg_restore_code[reg][mode] = -1; return -1; } @@ -124,6 +125,7 @@ reg_save_code (int reg, enum machine_mode mode) /* Force re-recognition of the modified insns. */ INSN_CODE (saveinsn) = -1; + INSN_CODE (restinsn) = -1; cached_reg_save_code[reg][mode] = recog_memoized (saveinsn); cached_reg_restore_code[reg][mode] = recog_memoized (restinsn); |