This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/47725] [x32] error: unable to find a register to spill in class DIREG


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]