aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2016-11-11 22:38:33 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2016-11-11 22:38:33 +0000
commit8b287aea3561278b4002864c0d1c29b769493448 (patch)
treed0c42b5c68c9cac41892a474b5a2eeccd1791ba7 /gcc/doc
parent84971f1bade1acb6b721260fb02f3740642c643e (diff)
downloadgcc-8b287aea3561278b4002864c0d1c29b769493448.zip
gcc-8b287aea3561278b4002864c0d1c29b769493448.tar.gz
gcc-8b287aea3561278b4002864c0d1c29b769493448.tar.bz2
re PR rtl-optimization/59461 (missed zero-extension elimination in the combiner)
PR rtl-optimization/59461 * doc/rtl.texi (paradoxical subregs): Add missing word. * combine.c (reg_nonzero_bits_for_combine): Do not discard results in modes with precision larger than that of last_set_mode. * rtlanal.c (nonzero_bits1) <SUBREG>: If WORD_REGISTER_OPERATIONS is set and LOAD_EXTEND_OP is appropriate, propagate results from inner REGs to paradoxical SUBREGs. (num_sign_bit_copies1) <SUBREG>: Likewise. Check that the mode is not larger than a word before invoking LOAD_EXTEND_OP on it. From-SVN: r242326
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/rtl.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index 692d9b5..175f60d 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -1882,7 +1882,7 @@ When used as an rvalue, the low-order bits of the @code{subreg} are
taken from @var{reg} while the high-order bits may or may not be
defined.
-The high-order bits of rvalues are in the following circumstances:
+The high-order bits of rvalues are defined in the following circumstances:
@itemize
@item @code{subreg}s of @code{mem}