https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99108
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- So the issue here is likely that f() have not been finalized because they are declared in local scope and thus there's no cgraph node for them (yet).