https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942
--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (In reply to Avi Kivity from comment #5) > That's clang + libstdc++-5.1, so if the problem is in libstdc++, it's the > same bug. Yes. clang++ -stdlib=libc++ -std=gnu++14 original_testcase.cpp is also fine.