https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115485
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
if (!crtl->uses_pic_offset_table || compute_now)
{
gcc_assert (can_create_pseudo_p ()
|| (pic_reg != NULL_RTX
&& REG_P (pic_reg)
&& GET_MODE (pic_reg) == Pmode));
It has to do with these 2 options:
> -msingle-pic-base -mpic-register=r9
