diff options
| author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-17 22:35:47 +0000 |
|---|---|---|
| committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-17 22:35:47 +0000 |
| commit | ea4c8f879824fc6d287ce18844afbe1040998ea8 (patch) | |
| tree | b76a6e12e985e319a51d1cc56572e71adc8486c0 | |
| parent | 9b85a05d82abe0a25b5811eb1191ba554c31c6d2 (diff) | |
| download | ppe42-gcc-ea4c8f879824fc6d287ce18844afbe1040998ea8.tar.gz ppe42-gcc-ea4c8f879824fc6d287ce18844afbe1040998ea8.zip | |
* reload1.c (eliminte_regs_in_insn): Use REG_EQUIV notes the same way
we use REG_EQUAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123932 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/reload1.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1cb2c2c54be..59b83cfbcfe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-04-18 Bernd Schmidt <bernd.schmidt@analog.com> + + * reload1.c (eliminte_regs_in_insn): Use REG_EQUIV notes the same way + we use REG_EQUAL. + 2007-04-17 Anatoly Sokolov <aesok@post.ru> PR target/30483 diff --git a/gcc/reload1.c b/gcc/reload1.c index 8c698ef3399..f29f0799140 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -3101,7 +3101,8 @@ eliminate_regs_in_insn (rtx insn, int replace) rtx links; for (links = REG_NOTES (insn); links; links = XEXP (links, 1)) { - if (REG_NOTE_KIND (links) == REG_EQUAL + if ((REG_NOTE_KIND (links) == REG_EQUAL + || REG_NOTE_KIND (links) == REG_EQUIV) && GET_CODE (XEXP (links, 0)) == PLUS && GET_CODE (XEXP (XEXP (links, 0), 1)) == CONST_INT) { |

