This is the mail archive of the gcc-patches@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]

Re: [PATCH] Re: m68k bootstrap failure


On Tue, Oct 28, 2003 at 02:46:31PM -0800, Zack Weinberg wrote:
> Gunther Nikl <gni@gecko.de> writes:
> > Your patch http://gcc.gnu.org/ml/gcc-patches/2003-10/msg02274.html changing
> > genmodes.c/machmode.h breaks m68k when using FPU mode. A testcase can be
> > found here: http://gcc.gnu.org/ml/gcc/2003-10/msg01317.html.
> 
> It took me an appallingly long time to track this down, but it turns
> out to be because I accidentally changed what GET_MODE_NUNITS returns
> for scalar modes, which caused HARD_REGNO_NREGS to return 0 for
> floating point registers.  The appended patch should fix it.  Please
> test it and let me know if it works.

  With the patch installed the ICE is gone. The mentioned testcase does now
  compile properly. I was also able to build a native compiler for my target.
  If it doesn't work, it's probably not your fault :-)
  Thank you very much for quickly providing a fix!

  Gunther


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