https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82192
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Oct 27 20:32:21 2017 New Revision: 254177 URL: https://gcc.gnu.org/viewcvs?rev=254177&root=gcc&view=rev Log: Backported from mainline 2017-09-15 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/execute/pr82192.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/combine.c branches/gcc-7-branch/gcc/testsuite/ChangeLog