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] |
Yea, I had to look at that a few times to convince myself that everything was OK.I've also fixed up some confusion about when to clear allocno_saved_at_call.
There may be oddball architectures where this matters, but I can't think of one offhand. One could argue that for such an architecture that the regs should be in different classes. If we wanted to be absolutely sure we could test for this situation once per compilation unit and ICE -- that might save a developer on one of these targets considerable debugging time.
Note that there is a small change in behaviour: in inc/dec_register_pressure,
we no longer recompute nregs as we iterate through the classes. I think it's
more correct this way, and I haven't seen any difference in code generation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |