The following PR is opened for this problem: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61223 Thumb1 failure was also detected and reported in pr60758. I've proposed a thumb1 bugfix there. Regtest for the fix currently is in progress.
Patches must be proposed on gcc-patches and / or in this case libstdc++-patches mailing list. Attaching patches to bugzilla does not ensure review.
Thanks, Ramana
Best regards, Merzlyakov Alexey