https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118716
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- You have been just lucky over the years. You cannot compile a newer code with libstdc++ headers and thinking it will link with the older library. In this case the symbol was accidently missed 4.4/4.5's libstdc++ and just by luck was working in some cases due to inlining. GCC 10 changed inlining heurstics and exposed this symbol. See PR 48465 which applied the fix for GCC 4.6 to expose the symbol to libstdc++.