https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107632
Bug ID: 107632 Summary: has_facet does not work with -mlong-double-64 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- #include <locale> #include <stdio.h> using namespace std; int main(int argc, char *argv[]) { locale oGlobalLocale; if (!has_facet< num_get<char, istreambuf_iterator<char, char_traits<char> > > >( oGlobalLocale )) __builtin_abort (); } g++ t.cpp -o t && ./t -> works as expected g++ t.cpp -o t -mlong-double-64 && ./t -> aborts