On 05/08/2017 08:07 AM, Andreas Schwab wrote:
On Mai 05 2017, Nathan Sidwell <nat...@acm.org> wrote:

This cleanup patch kills IDENTIFIER_NAMESPACE_VALUE and replaces
{get,set}_namespace_binding with get_namespace_value and set_global_value
respectively.

I'm getting this regression on ia64:

FAIL: g++.dg/template/virtual3.C  -std=c++11 (test for excess errors)

I'm not seeing this. On an ia64-linux target (hosted on x86_64-linux) I get the attached output, which is the same as I get on an x86_64-linux native build.

For the failure mode you describe I'd expect many more test failures to occur. I wonder if there's some uninitialized variable or something?

nathan

--
Nathan Sidwell
virtual3.C:8:8: error: deleted function 'virtual B::~B()'
 struct B : A<0>, A<1>  // { dg-error "deleted|context" }
        ^
virtual3.C:5:11: error: overriding non-deleted function 'A<<anonymous> >::~A() 
[with int <anonymous> = 0]'
   virtual ~A();   // { dg-message "non-deleted|private" }
           ^
virtual3.C:8:8: note: 'virtual B::~B()' is implicitly deleted because the 
default definition would be ill-formed:
 struct B : A<0>, A<1>  // { dg-error "deleted|context" }
        ^
virtual3.C:8:8: error: 'A<<anonymous> >::~A() [with int <anonymous> = 0]' is 
private within this context
virtual3.C:5:11: note: declared private here
   virtual ~A();   // { dg-message "non-deleted|private" }
           ^
virtual3.C:8:8: error: 'A<<anonymous> >::~A() [with int <anonymous> = 1]' is 
private within this context
 struct B : A<0>, A<1>  // { dg-error "deleted|context" }
        ^
virtual3.C:5:11: note: declared private here
   virtual ~A();   // { dg-message "non-deleted|private" }
           ^
virtual3.C:8:8: error: deleted function 'virtual B::~B()'
 struct B : A<0>, A<1>  // { dg-error "deleted|context" }
        ^
virtual3.C:5:11: error: overriding non-deleted function 'A<<anonymous> >::~A() 
[with int <anonymous> = 1]'
   virtual ~A();   // { dg-message "non-deleted|private" }
           ^
virtual3.C: In constructor 'B::B()':
virtual3.C:10:7: error: 'A<<anonymous> >::~A() [with int <anonymous> = 0]' is 
private within this context
   B() {}   // { dg-error "context" }
       ^
virtual3.C:5:11: note: declared private here
   virtual ~A();   // { dg-message "non-deleted|private" }
           ^
virtual3.C:10:7: error: 'A<<anonymous> >::~A() [with int <anonymous> = 1]' is 
private within this context
   B() {}   // { dg-error "context" }
       ^
virtual3.C:5:11: note: declared private here
   virtual ~A();   // { dg-message "non-deleted|private" }
           ^

Reply via email to