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: GREG modifying the FIXED_REGISTERS...


On 08/21/2009 04:01 PM, Jean Christophe Beyler wrote:
/* If we have a 0, use r0 instead */

Don't do this. See how, e.g. alpha and mips handle the zero register. You want to leave this as (const_int 0) throughout compilation.


r~



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