Seen on powerpc64-linux and i686-linux, probably all targets with sufficiently recent glibc. libstdc++-v3/libsupc++/eh_globals.cc get_global is defined inside anonymous namespace thus is local to the file. All uses of get_global are inlined, but get_global is still emitted.
-- Summary: anon namespace function emitted when all uses inlined Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: amodra at bigpond dot net dot au http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40222