This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [m68k] register renaming not properly tracking used registers


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]