https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87883
--- Comment #1 from Mihail Ionescu <mihail.ionescu at arm dot com> --- Hi Jozef, The issue is indeed there on trunk/gcc-8/gcc-7, but it is expected. It is caused by the fact that the "arm_active_target.isa" bitmap is not initialised by the time "init_reg_sets" is called. This can be fixed by checking if it is initialised or not in the arm backend, but it is not ideal, as arm_regno_class (REGNO_REG_CLASS) is not supposed to be queried at that time. What exactly is your patch trying to do? Is there any way of working around this within your patch? Best regards, Mihail