[m68k] register renaming not properly tracking used registers
Mark Mitchell
mark@codesourcery.com
Fri Oct 22 19:04:00 GMT 2004
Peter Barada wrote:
>>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.
>
>
The patch is OK then.
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com
More information about the Gcc
mailing list