]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR rtl-optimization/89354 (Combine pass yields wrong code with -O2 and...
authorJakub Jelinek <jakub@redhat.com>
Fri, 30 Aug 2019 11:59:10 +0000 (13:59 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 30 Aug 2019 11:59:10 +0000 (13:59 +0200)
commit983b12012424c93d06db05acdb283ac895a9dc58
treef0d63a2bb0cd0d7a2eec600214be6976ca9579e8
parentec97cf390ef39e4f55dcae06c5a5e9a4e81b6044
backport: re PR rtl-optimization/89354 (Combine pass yields wrong code with -O2 and -msse2 for 32bit target)

Backported from mainline
2019-02-14  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/89354
* combine.c (make_extraction): Punt if extraction_mode is narrower
than len bits.

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

From-SVN: r275111
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr89354.c [new file with mode: 0644]