[Bug c++/60047] New: ICE with defaulted copy-constructor and virtual base class
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Mon Feb 3 18:47:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60047
Bug ID: 60047
Summary: ICE with defaulted copy-constructor and virtual base
class
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: paolo.carlini at oracle dot com
Testcase (noticed while looking into PR58871):
struct B { };
template<typename T> struct A : virtual B
{
A();
A(const A&);
};
template<typename T> A<T>::A(const A<T>&) = default;
A<int> a = A<int>();
More information about the Gcc-bugs
mailing list