https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62313
--- Comment #7 from François Dumont <fdumont at gcc dot gnu.org> --- ok, looks like Jonathan it pretty sure it is a bug, I am going to take a closer look at it. When I said that you would have the same issue with all versions of Standard lib I meant with all version of libstdc++, I just think that it is not a regression, at least no a recent one.