re PR rtl-optimization/89195 (Corrupted stack offset after combine)
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Feb 2019 15:38:57 +0000 (16:38 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 5 Feb 2019 15:38:57 +0000 (16:38 +0100)
commit7356fbde50dd4bfd55eaa0bed31b31da55d1461c
tree7e1963ea7a68f515f1a35d79294711996b35c81e
parentcff2ddc9c7ece6413e77625e58edc71b88bb58bb
re PR rtl-optimization/89195 (Corrupted stack offset after combine)

PR rtl-optimization/89195
* combine.c (make_extraction): For MEMs, don't extract bytes outside
of the original MEM.

* gcc.c-torture/execute/pr89195.c: New test.

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