public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [Mainline regression] ICE when throwing strings
@ 2002-10-24  9:42 Reichelt
  2002-10-24 19:18 ` Mark Mitchell
  0 siblings, 1 reply; 4+ messages in thread
From: Reichelt @ 2002-10-24  9:42 UTC (permalink / raw)
  To: gcc

Hi,

we already have at least 4 PRs for this problem, so I just wanted to bring it
to attention in order to prevent GNATS from getting flooded with more PRs of
the same issue.

Throwing an exception that uses strings will cause an ICE on
mainline (just compile with g++ -O):

----------------------snip here--------------------
#include<string>

struct C
{
    C (std::string) {}
};

void foo ()
{
    throw C(std::string());
}
----------------------snip here--------------------

A reduced testcase can be found in PR 8186 and PR 7959.
PR 8325 and PR 8244 are probably the same bug.

Greetings,
Volker


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

end of thread, other threads:[~2002-10-25 16:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-24  9:42 [Mainline regression] ICE when throwing strings Reichelt
2002-10-24 19:18 ` Mark Mitchell
2002-10-25 11:27   ` Reichelt
2002-10-25 15:25     ` Mark Mitchell

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).