https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120030
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think the code should be: ``` if (priority == DEFAULT_INIT_PRIORITY && get_init_priority() == priority) return; ``` That is if it is already DEFAULT_INIT_PRIORITY don't do the insert into the hashtable still; otherwise update the hashtable.