re PR rtl-optimization/82192 (gcc produces incorrect code with -O2 and bit-field)
authorJakub Jelinek <jakub@redhat.com>
Fri, 15 Sep 2017 15:54:04 +0000 (17:54 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 15 Sep 2017 15:54:04 +0000 (17:54 +0200)
commita1189286e5dedc4ab4aacda95216b047017cd3cf
treea04038ed07d498e752afbd26f1ad98c025f14411
parent681f5b7cc8e80ef09f4692fac5bf3824e4854d54
re PR rtl-optimization/82192 (gcc produces incorrect code with -O2 and bit-field)

PR rtl-optimization/82192
* combine.c (make_extraction): Don't look through non-paradoxical
SUBREGs or TRUNCATE if pos + len is or might be bigger than
inner's mode.

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

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