https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116802
--- Comment #5 from Tymi <tymi at tymi dot org> --- (In reply to Andrew Pinski from comment #3) > (In reply to Tymi from comment #2) > > Oh, did not see that detail. It does compile with clang though. > > By clang you mean with libstd++ with clang or libc++? The default clang trunk implementation. Just double-tested as you sent this message and turns out I made a typo while testing the clang version. This issue is indeed invalid then. Sorry for trouble.