http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55940
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-01 14:09:53 UTC --- Author: jakub Date: Fri Feb 1 14:09:38 2013 New Revision: 195656 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195656 Log: Backported from mainline 2013-01-15 Jakub Jelinek <ja...@redhat.com> PR target/55940 * function.c (thread_prologue_and_epilogue_insns): Always add crtl->drap_reg to set_up_by_prologue.set, even if stack_realign_drap is false. * gcc.dg/pr55940.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr55940.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