https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116326
--- Comment #7 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- (In reply to Richard Sandiford from comment #6) > I don't think we should make any permanent changes to support this kind of > manipulation, since it's only needed during the transition. What about the following line in reload1.h: // Used during roload -> LRA transition because ELIMINABLE_REGS may depend // on command line options. Used in avr.h for example. #define IN_RELOAD1_CC and the use #ifdef IN_RELOAD1_CC in avr.h? It's still a permanent change, but a no-op (except for avr.h) because the macro is unused currently. There are places like varasm.cc and rtlanal.cc that use ELIMINABLE_REGS, but they should follow the LRA convention.