This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/53942] [4.6/4.7/4.8 Regression] unable to find a register to spill in class 'CREG'
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Aug 2012 07:35:11 +0000
- Subject: [Bug rtl-optimization/53942] [4.6/4.7/4.8 Regression] unable to find a register to spill in class 'CREG'
- Auto-submitted: auto-generated
- References: <bug-53942-4@http.gcc.gnu.org/bugzilla/>
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 <jakub@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