https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48344
David Edelsohn <dje at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dje at gcc dot gnu.org --- Comment #4 from David Edelsohn <dje at gcc dot gnu.org> --- The ICE appears to be the missing mode on r2, but I thought that the SET would be generated by -fstack-limit-register common code. However, r2 is a fixed register for SVR4 ABI, so the specific choice of r2 seems strange. The user specifically wants a fixed register and knows that it will not be used for GOT access in this specific use case?