https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78378
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Dec 7 22:50:53 2016 New Revision: 243402 URL: https://gcc.gnu.org/viewcvs?rev=243402&root=gcc&view=rev Log: Backported from mainline 2016-11-16 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/78378 * combine.c (make_extraction): Use force_to_mode for non-{REG,MEM} inner only if pos is 0. Fix up formatting. * gcc.c-torture/execute/pr78378.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.c-torture/execute/pr78378.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/combine.c branches/gcc-6-branch/gcc/testsuite/ChangeLog