https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113183
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I suspect this part of the code example you gave: ``` static void const * const leon_init __attribute__((section (".init_array"), retain, used)) = (void*)leon_initialise; ``` Is broken and should be rewritten anyways. It is also what is causing the error and ICE (which is during the warning about it) happening.