re PR rtl-optimization/89354 (Combine pass yields wrong code with -O2 and -msse2...
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 14 Feb 2019 23:10:47 +0000 (00:10 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 14 Feb 2019 23:10:47 +0000 (00:10 +0100)
commitdddd0c7a5b751f398cba325dc7310bb185fed201
tree41cceb5e2419961df17e3ef8936879161cdc9e6c
parentbf36afbc8f680205f04f75f308b994cff75fd54d
re PR rtl-optimization/89354 (Combine pass yields wrong code with -O2 and -msse2 for 32bit target)

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: r268913
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr89354.c [new file with mode: 0644]