diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-17 07:24:24 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-17 07:24:24 +0000 |
commit | 9cc65060239f1627691f4a3871f2848f3902c96c (patch) | |
tree | 6cafb5683810d8641388cee95168153d5fb8c3c8 | |
parent | 46da90b10af4002038afb932dd4c6127ed7eb604 (diff) | |
download | gcc-9cc65060239f1627691f4a3871f2848f3902c96c.tar.gz |
PR rtl-optimization/32790
* reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
not ZERO_EXTEND in SET_DESTs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219795 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/reginfo.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12bd23ac5cd..04ae25502c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-01-17 Jeff Law <law@redhat.com> + + PR rtl-optimization/32790 + * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT, + not ZERO_EXTEND in SET_DESTs. + 2015-01-17 Alan Modra <amodra@gmail.com> * cprop.c (do_local_cprop): Revert last change. diff --git a/gcc/reginfo.c b/gcc/reginfo.c index 2a18fb83473..9015eebbdeb 100644 --- a/gcc/reginfo.c +++ b/gcc/reginfo.c @@ -1132,7 +1132,7 @@ reg_scan_mark_refs (rtx x, rtx_insn *insn) /* Count a set of the destination if it is a register. */ for (dest = SET_DEST (x); GET_CODE (dest) == SUBREG || GET_CODE (dest) == STRICT_LOW_PART - || GET_CODE (dest) == ZERO_EXTEND; + || GET_CODE (dest) == ZERO_EXTRACT; dest = XEXP (dest, 0)) ; |