[m68k] register renaming not properly tracking used registers

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


>>> gcc/ChangeLog:
>>> 2004-09-103  Peter Barada <peter@the-baradas.com>
>>>     * config/m68k/m68k.h (HARD_REGNO_RENAME_OK): New macro.
>>>     * config/m68k/m68k.c (m68k_hard regno_rename_ok): Disallow
>>>       renaming of non-live registers in interrupt functions.
>>>     * config/m68k/m68k-protos.h (m68k_hard_regno_rename_ok): Add 
>>> prototype.
>>
>>
>>
>> Thanks, I've committed your patch on mainline (with a couple of
>> trivial spacing fixes).
>>
>> I'd also like to backport it to 3.4, with Mark's approval.
>
>Does it fix a regression?

BTW, I *completely* messed up the date in the ChangeLog entry...

I don't know if its a regression.

I can pull out and build previous versions to see if this bug is there
or not if you want.  Which gcc versions should I check?

-- 
Peter Barada
peter@the-baradas.com



More information about the Gcc-patches mailing list