public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107632] New: has_facet does not work with -mlong-double-64
@ 2022-11-11  9:48 krebbel at gcc dot gnu.org
  2022-11-11 13:09 ` [Bug libstdc++/107632] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: krebbel at gcc dot gnu.org @ 2022-11-11  9:48 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-11 13:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11  9:48 [Bug c++/107632] New: has_facet does not work with -mlong-double-64 krebbel at gcc dot gnu.org
2022-11-11 13:09 ` [Bug libstdc++/107632] " redi at gcc dot gnu.org
2022-11-11 13:11 ` [Bug libstdc++/107632] [13 Regression] " redi at gcc dot gnu.org
2022-11-11 13:16 ` redi at gcc dot gnu.org
2022-11-11 13:26 ` [Bug libstdc++/107632] " redi at gcc dot gnu.org
2022-11-11 13:26 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).