https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89862
--- Comment #2 from kugan at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #1) > Can you try this instead? > > Index: rtl.h > =================================================================== > --- rtl.h (revision 269886) > +++ rtl.h (working copy) > @@ -4401,6 +4401,7 @@ word_register_operation_p (const_rtx x) > { > switch (GET_CODE (x)) > { > + case CONST_INT: > case ROTATE: > case ROTATERT: > case SIGN_EXTRACT: Thanks for looking into it. Disallowing all the CONST_INT works for me. I have verified that lto-bootstrap works with the above changes. I will test for regression and post it to gcc-patches.