more m68k breakage on m68k-linux

Richard Zidlicky rz@linux-m68k.org
Tue Mar 2 22:26:00 GMT 2004


On Tue, Mar 02, 2004 at 08:32:44PM +0100, Roman Zippel wrote:
> Hi,
> 
> Richard Zidlicky wrote:
> 
> >hm.. the problem I see is that the register allocator is initialised
> >with random garbage. Eg FIXED_REGISTERS is 24 elts big, thus 
> >initial_fixed_regs[] is also only 24 elts and in init_reg_sets() we
> >copy a random 25th elt into fixed_regs[] and risk segfault.
> >I am pretty sure more it results in more damage later on.
> 
> I can confirm that it causes problems, after fixing FIXED_REGISTERS and 
> CALL_USED_REGISTERS I can finally bootstrap gcc again, 

same here.

> but my tree has 
> another fix for a subtle miscompilation, which I still have to test 
> separately. reg_class and all related macros still have to be fixed though.

I have another few miscompilations so I am awaiting your patches :)

Richard



More information about the Gcc mailing list