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: RFA: Saving fixed call-saved registers in unwind functions and setjmp callers


> Nah, it's OK, thanks.  I think Roman's patch does all I need.  (TBH,
> I was tempted to add a boolean to struct function too, but shied away
> from it because I didn't think it'd be accepted.  It does seem cleaner
> than redefining what "fixedness" means for !call_really_used registers.)

OK, sounds like we've finally found the right meaning for the flag.  But I 
agree with you that the fixed_regs check in reload1.c is redundant (there is 
an assert in init_reg_sets_1 and I think that the invariant is preserved) so 
if you feel brave enough...

-- 
Eric Botcazou


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