re PR rtl-optimization/84071 (wrong elimination of zero-extension after sign-extended...
commitae20d760b1ed69f631c3bf9351bf7e5005d52297
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 31 Jan 2018 10:03:06 +0000 (31 10:03 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 31 Jan 2018 10:03:06 +0000 (31 10:03 +0000)
tree74ff7d61b777917ffbe16c5ebde09800a71ae57b
parentb6fb257bd6fe6a4d03937a8c3cee6ff4dfa1002a
re PR rtl-optimization/84071 (wrong elimination of zero-extension after sign-extended load)

PR rtl-optimization/84071
* combine.c (record_dead_and_set_regs_1): Record the source unmodified
for a paradoxical SUBREG on a WORD_REGISTER_OPERATIONS target.

From-SVN: r257224
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20180131-1.c [new file with mode: 0644]