http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46368
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.11.09 11:46:48
Ever Confirmed|0 |1
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-09
11:46:48 UTC ---
Reduced testcase, ICEs with -std=c++0x:
class A;
class B
{
A foo ();
A bar ();
};
class C
{
};
struct D
{
D (C);
};
struct A : D
{
A (const C & n) : D (n) {}
};
A baz (const char *, A = C ());
A
B::foo ()
{
try
{
baz ("foo");
}
catch (...)
{
}
}
A
B::bar ()
{
baz ("bar");
}