https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78378
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue May 30 07:40:21 2017 New Revision: 248623 URL: https://gcc.gnu.org/viewcvs?rev=248623&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-5-branch/gcc/testsuite/gcc.c-torture/execute/pr78378.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/combine.c branches/gcc-5-branch/gcc/testsuite/ChangeLog