[m68k]: patch to fix m68k_output_mi_thunk() for ColdFire

Bernardo Innocenti bernie@develer.com
Tue Jun 1 13:20:00 GMT 2004


Jim Wilson wrote:
> Bernardo Innocenti wrote:
> 
>>> gcc/
>>> 2004-05-27  Peter Barada  <peter@the-baradas.com>
>>>     * config/m68k/m68k.c(m68k_output_mi_thunk):  For ColdFire,
>>>       use %d0 as a scratch to perform an add to memory.
>>
>> Is this patch approved?
> 
> Yes.

Thank you, committed.

Mark, I believe this patch is also needed on 3.4.
Without it, GCC may output invalid code for
ColdFire targets.

I can't find a specific PR, but I may file one if needed.

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/



More information about the Gcc mailing list