This is the mail archive of the gcc@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: problem with call clobbered regs


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



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