public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Reichelt <reichelt@igpm.rwth-aachen.de> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: c++/8186: ICE in cp_expr_size, at cp/cp-lang.c:304 Date: Thu, 10 Oct 2002 13:56:00 -0000 [thread overview] Message-ID: <20021010205601.21429.qmail@sources.redhat.com> (raw) The following reply was made to PR c++/8186; it has been noted by GNATS. From: Reichelt <reichelt@igpm.rwth-aachen.de> To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, jh@suse.cz, nobody@gcc.gnu.org Cc: Subject: Re: c++/8186: ICE in cp_expr_size, at cp/cp-lang.c:304 Date: Thu, 10 Oct 2002 23:40:47 +0200 Hi, the PR can be reduced to the following code snippet: ----------------------snip here-------------------- #include<string> struct C { C (std::string) {} }; void foo () { throw C(std::string()); } ----------------------snip here-------------------- This can be further reduced to: ----------------------snip here-------------------- struct A { A (); A (const A&); }; struct B { A a; B& operator= (const B&); }; struct C { C (B) {} }; void foo () { throw C(B()); } ----------------------snip here-------------------- Compiling with "g++ -O -c" the main trunk (as of 20021007) crashes with the message (checked on i686-pc-linux-gnu and mips-sgi-irix6.5): bug.cc: In function `void foo()': bug.cc:15: internal compiler error: in cp_expr_size, at cp/cp-lang.c:304 Please submit a full bug report, [etc.] The 3.2-branch and previous versions are not affected. Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8186
next reply other threads:[~2002-10-10 20:56 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-10 13:56 Reichelt [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-10-10 9:56 Jan Hubicka 2002-10-10 9:26 Andrew Pinski 2002-10-10 8:56 jh
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=20021010205601.21429.qmail@sources.redhat.com \ --to=reichelt@igpm.rwth-aachen.de \ --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).