problem with call clobbered regs

Jim Wilson wilson@specifixinc.com
Thu Feb 12 03:01:00 GMT 2004


Daniel Bayer wrote:
> I'm writing a new backend for gcc. At the moment I have a problem with
> call clobbered regs. For a certain input it generates this code:

This is most likely a problem with your port.  It is difficult to help 
when no info is available about the port.

You might check to make sure %p3 is mentioned as a call clobbered register.

You can use the -da option to dump rtl after every optimization pass. 
You can examine the rtl dumps to determine in which optimization pass 
the problem first occurs.  Then you debug that optimization pass to 
determine what it is doing wrong.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list