[m68k] register renaming not properly tracking used registers
Bernardo Innocenti
bernie@develer.com
Fri Oct 22 21:08:00 GMT 2004
Mark Mitchell wrote:
> 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, installed in 3_4-branch.
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
More information about the Gcc
mailing list