https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120390
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |libstdc++
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to nightstrike from comment #3)
> I know it isn't a bug,
You're missing the point. It *is* a bug if the diagnostic is bad. My point is
that it's not a *compiler* bug, it's a library bug.
The compiler is doing exactly what the library code tells it to do.