https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84833 --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- I can confirm the issue, there's missing edge to foo->baz and thus the symbol is removed. I'll fix that.