This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/47725] [x32] error: unable to find a register to spill in class DIREG
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Feb 2011 18:54:32 +0000
- Subject: [Bug middle-end/47725] [x32] error: unable to find a register to spill in class DIREG
- Auto-submitted: auto-generated
- References: <bug-47725-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47725
--- Comment #7 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-02-14 18:54:15 UTC ---
Author: hjl
Date: Mon Feb 14 18:54:12 2011
New Revision: 170148
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170148
Log:
Copy the hard register first before extending it.
gcc/
2011-02-14 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/47725
* function.c (assign_parm_setup_reg): Copy the hard register
first before extending it.
gcc/testsuite/
2011-02-13 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/47725
* gcc.dg/torture/pr47725.c: New.
Added:
branches/x32/gcc/testsuite/gcc.dg/torture/pr47725.c
Modified:
branches/x32/gcc/ChangeLog.x32
branches/x32/gcc/function.c
branches/x32/gcc/testsuite/ChangeLog.x32