public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Janis Johnson <janis187@us.ibm.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: libstdc++/9378: 64-bit g++: construct base:std::moneypunct_byname<char>->memory fault Date: Tue, 21 Jan 2003 20:06:00 -0000 [thread overview] Message-ID: <20030121200601.24602.qmail@sources.redhat.com> (raw) The following reply was made to PR libstdc++/9378; it has been noted by GNATS. From: Janis Johnson <janis187@us.ibm.com> To: axiong@ca.ibm.com Cc: gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/9378: 64-bit g++: construct base:std::moneypunct_byname<char>->memory fault Date: Tue, 21 Jan 2003 12:07:14 -0800 On Mon, Jan 20, 2003 at 08:20:24PM -0000, axiong@ca.ibm.com wrote: > > >Description: > => 64-bit g++ compiling: > construct base, std::moneypunct_byname<char> -> memory fault > > => not a problem with 32-bit "dfs" version g++ What is "dfs"? > => also a problem for local version of 32-bit g++ -> failed with "Abort" (not memory fault) > > >How-To-Repeat: > /********************************************************* > * Copile the following code with 64-bit g++ and run it > *********************************************************/ > #include <locale> > > class D : public std::moneypunct_byname<char, false> { > public: > D(const char* p) : std::moneypunct_byname<char>(p) {} > }; > > int main(void) > { > const char* c01 = "abc"; > D d(c01); > > return 0; > } What's supposed to happen here? With mainline, for both 32-bit and native 64-bit powerpc64-linux I get: elm3b10% a.out terminate called after throwing an instance of 'std::runtime_error' what(): attempt to create locale from unknown name Aborted Janis
next reply other threads:[~2003-01-21 20:06 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-01-21 20:06 Janis Johnson [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-05-12 11:23 steven 2003-01-30 1:56 Benjamin Kosnik 2003-01-30 1:56 Martin Sebor 2003-01-30 1:36 Benjamin Kosnik 2003-01-29 21:26 Martin Sebor 2003-01-29 21:05 bkoz 2003-01-21 21:36 axiong 2003-01-21 6:26 Alan Modra 2003-01-20 20:26 axiong
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030121200601.24602.qmail@sources.redhat.com \ --to=janis187@us.ibm.com \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).