re PR rtl-optimization/89795 (wrong code with -O2 -fno-dce -fno-forward-propagate...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 11 Sep 2019 10:41:27 +0000 (10:41 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 11 Sep 2019 10:41:27 +0000 (10:41 +0000)
commit0a237a94c206b53eb73baad2d75fbcca518df65e
tree8dfd7a8f5c6dc824fb59632ad688516eeb8cebff
parent26d815a3e587ac04dbd63eec3fb5aecb04db7242
re PR rtl-optimization/89795 (wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure)

PR rtl-optimization/89795
* rtlanal.c (nonzero_bits1) <SUBREG>: Do not propagate results from
inner REGs to paradoxical SUBREGs if WORD_REGISTER_OPERATIONS is set.

From-SVN: r275635
gcc/ChangeLog
gcc/rtlanal.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sparc/20161111-1.c