https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108511
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:4c17371dc5a1193671e5a475349fa7d7a6f0ca1c commit r13-5489-g4c17371dc5a1193671e5a475349fa7d7a6f0ca1c Author: Richard Biener <rguent...@suse.de> Date: Mon Jan 30 08:20:03 2023 +0100 ipa/108511 - relax assert for undefined local statics Since we no longer promote undefined local statics extern the assert in possibly_call_in_translation_unit_p triggers. The following relaxes it according to Honzas advice. PR ipa/108511 * cgraph.cc (possibly_call_in_translation_unit_p): Relax assert.