https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80433

--- Comment #1 from David B. Robins <gcc at davidrobins dot net> ---
Created attachment 41203
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41203&action=edit
Pass register context for post_inc reload; allow GENNONACR_REGS as preferred.

I am attaching a potential fix in hopes it will help; I would be surprised if
I've uncovered a new issue in the reload code, but the change to pass the
register class for the code rather than the outer matches a few other cases and
fits the issue I'm seeing with the crisv32 ACR register being selected for a
post_inc insn that isn't supposed to use it.

(Not attaching aforementioned pass output files due to size, and because they
can easily be reproduced by attached source and above command.)

Reply via email to