[m68k] register renaming not properly tracking used registers

Peter Barada peter@the-baradas.com
Fri Oct 22 18:52:00 GMT 2004


>Since this is an interrupt handler function that triggers the bug, I
>don't have to look any earlier than 2003/10/11 since that was when
>Bernie added the 'interrupt_handler' attribute to
>gcc/config/m68k/m68k.c, or back just before gcc-3.3.3.
>
>I'll check in gcc-3.3.3, gcc-3.3.4, and gcc-3.4.0 to see if its a

Its a regression from gcc-3.3.3 to gcc-3.4.0.

In gcc-3.3.3 the address registers %a0 and %a1 are saved/modified/restored.
In gcc-3.4.0 the address registers %a0 and %a1 are modified, but not
saved/restored.

-- 
Peter Barada
peter@the-baradas.com



More information about the Gcc mailing list