[PATCH] Re: m68k bootstrap failure

Gunther Nikl gni@gecko.de
Wed Oct 29 16:58:00 GMT 2003


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



More information about the Gcc mailing list