On 02/03/2014 05:17 PM, Jason Merrill wrote:
Use vec_safe_is_empty instead of checking the two representations of an empty vector separately. OK with that change.
Ah nice. Thanks.

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?

Thanks,
Paolo.

Reply via email to