https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102395
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note your reduced testcase is no where near what the code looks like. The code is like this: if (!(sclass < LIM_REG_CLASSES))__builtin_unreachable(); if (slcass == ALL_REGS) return; if (sclass != NO_REGS && g()) f(x_ira_class_hard_regs[slcass][0]);