re PR rtl-optimization/85925 (compilation of masking with 257 goes wrong in combine...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 20 Nov 2018 08:59:30 +0000 (08:59 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 20 Nov 2018 08:59:30 +0000 (08:59 +0000)
commit643427d70f7a547a1db8a8492a6a124ff22c0d3a
treee254592484859d6e99362a4041f1d06658035748
parent07b9f1de1ea532a66d8ac103f3a9827521d780f9
re PR rtl-optimization/85925 (compilation of masking with 257 goes wrong in combine at -02)

PR rtl-optimization/85925
* rtl.h (word_register_operation_p): New predicate.
* combine.c (record_dead_and_set_regs_1): Only apply specific handling
for WORD_REGISTER_OPERATIONS targets to word_register_operation_p RTX.
* rtlanal.c (nonzero_bits1): Likewise.  Adjust couple of comments.
(num_sign_bit_copies1): Likewise.

From-SVN: r266302
gcc/ChangeLog
gcc/combine.c
gcc/rtl.h
gcc/rtlanal.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20181120-1.c [new file with mode: 0644]