This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch] PR 58871


Hi,

On 02/03/2014 05:55 PM, Jason Merrill wrote:
On 02/03/2014 11:52 AM, Paolo Carlini wrote:
Note, anyway, that unfortunately it's pretty easy to construct an ICE on
valid too, which doesn't seem a regression, but should be also looked at.

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>();

What do you think? Shall I check for duplicates and in case open a new
Bugzilla?

Please.  I'd be surprised if that isn't a regression.
Done, it's c++/60047.

Thanks,
Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]