diff options
author | Jeff Law <law@redhat.com> | 2015-01-17 00:24:24 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-01-17 00:24:24 -0700 |
commit | bd5fb71cd07c61218d58cba2e779648c0ca8b3a2 (patch) | |
tree | 6cafb5683810d8641388cee95168153d5fb8c3c8 /gcc/reginfo.c | |
parent | 21c4af433bddf59126996cf479affc32be7334fa (diff) | |
download | gcc-bd5fb71cd07c61218d58cba2e779648c0ca8b3a2.zip gcc-bd5fb71cd07c61218d58cba2e779648c0ca8b3a2.tar.gz gcc-bd5fb71cd07c61218d58cba2e779648c0ca8b3a2.tar.bz2 |
re PR rtl-optimization/32790 (REG_N_SETS holds wrong value)
PR rtl-optimization/32790
* reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
not ZERO_EXTEND in SET_DESTs.
From-SVN: r219795
Diffstat (limited to 'gcc/reginfo.c')
-rw-r--r-- | gcc/reginfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reginfo.c b/gcc/reginfo.c index 2a18fb8..9015eeb 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)) ; |