http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53942
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-08-13 07:35:11 UTC --- Author: jakub Date: Mon Aug 13 07:35:03 2012 New Revision: 190338 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190338 Log: Backported from trunk 2012-07-19 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/53942 * function.c (assign_parm_setup_reg): Avoid zero/sign extension directly from likely spilled non-fixed hard registers, move them to pseudo first. * gcc.dg/pr53942.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr53942.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/function.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog