re PR rtl-optimization/89679 (wrong code with -Og -frerun-cse-after-loop -fno-tree...
authorJakub Jelinek <jakub@redhat.com>
Thu, 14 Mar 2019 12:21:36 +0000 (13:21 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 14 Mar 2019 12:21:36 +0000 (13:21 +0100)
commit87654f1813a0f582645f72d87f7fb8c78b92ee6a
tree40dbf553b569f68381f8ca699e138c8daac87caa
parentdf6d3ac9aa35d4d9cd23bc70e961490c19e2477d
re PR rtl-optimization/89679 (wrong code with -Og -frerun-cse-after-loop -fno-tree-fre)

PR rtl-optimization/89679
* expmed.c (expand_mult_const): Don't add a REG_EQUAL note if it
would contain a paradoxical SUBREG.

* gcc.dg/pr89679.c: New test.

From-SVN: r269680
gcc/ChangeLog
gcc/expmed.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr89679.c [new file with mode: 0644]