From e6383ae7a73164277026cf815315e39f281e6aca Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 30 Nov 2016 14:49:25 +0000 Subject: [PATCH] ref-1.C: Don't XFAIL scan-assembler-not on AIX. * g++.dg/debug/dwarf2/ref-1.C: Don't XFAIL scan-assembler-not on AIX. * g++.dg/debug/dwarf2/imported-decl-2.C: Same. * g++.dg/debug/dwarf2/refqual-1.C: Same. * g++.dg/debug/dwarf2/refqual-2.C: Same. From-SVN: r243029 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C | 2 +- gcc/testsuite/g++.dg/debug/dwarf2/ref-1.C | 2 +- gcc/testsuite/g++.dg/debug/dwarf2/refqual-1.C | 2 +- gcc/testsuite/g++.dg/debug/dwarf2/refqual-2.C | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7164611f9ff..d1b5c90a7ca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2016-11-30 David Edelsohn + + * g++.dg/debug/dwarf2/ref-1.C: Don't XFAIL scan-assembler-not on AIX. + * g++.dg/debug/dwarf2/imported-decl-2.C: Same. + * g++.dg/debug/dwarf2/refqual-1.C: Same. + * g++.dg/debug/dwarf2/refqual-2.C: Same. + 2016-11-30 Segher Boessenkool PR rtl-optimization/78610 diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C b/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C index 22458c0cb45..8163a5feb05 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C @@ -28,5 +28,5 @@ BBBB::method (int b) return a + b; } -// { dg-final { scan-assembler-not "ascii \"BBBB\\\\0\".*ascii \"AAAA\\\\0\".*DW_TAG_imported_declaration" { xfail { powerpc-ibm-aix* } } } } +// { dg-final { scan-assembler-not "ascii \"BBBB\\\\0\".*ascii \"AAAA\\\\0\".*DW_TAG_imported_declaration" } } // { dg-final { scan-assembler-times "ascii \"AAAA\\\\0\".*ascii \"BBBB\\\\0\".*DIE .0x\[0-9a-f\]*. DW_TAG_imported_declaration" 1 { xfail { powerpc-ibm-aix* } } } } diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/ref-1.C b/gcc/testsuite/g++.dg/debug/dwarf2/ref-1.C index 75e9fcaa89b..8689606b5a2 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/ref-1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/ref-1.C @@ -1,6 +1,6 @@ // { dg-do compile } // { dg-options "-O -g -dA -gno-strict-dwarf" } -// { dg-final { scan-assembler-not "DW_TAG_const_type" { xfail { powerpc-ibm-aix* } } } } +// { dg-final { scan-assembler-not "DW_TAG_const_type" } } int x; int &y = x; diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/refqual-1.C b/gcc/testsuite/g++.dg/debug/dwarf2/refqual-1.C index 221008e9981..aba02b06198 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/refqual-1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/refqual-1.C @@ -2,7 +2,7 @@ // { dg-options "-O -std=c++11 -g -dA -gno-strict-dwarf" } // { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_ptr_to_member_type" 1 { xfail { powerpc-ibm-aix* } } } } // { dg-final { scan-assembler-times " DW_AT_reference" 2 { xfail { powerpc-ibm-aix* } } } } -// { dg-final { scan-assembler-not " DW_AT_use_location" { xfail { powerpc-ibm-aix* } } } } +// { dg-final { scan-assembler-not " DW_AT_use_location" } } /* It is not clear what if anything we should output for DW_AT_use_location in a pointer to member function, so we don't output it for now. */ diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/refqual-2.C b/gcc/testsuite/g++.dg/debug/dwarf2/refqual-2.C index ddf33c1971e..3cd424e882b 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/refqual-2.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/refqual-2.C @@ -2,7 +2,7 @@ // { dg-options "-O -std=c++11 -g -dA -gno-strict-dwarf" } // { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_ptr_to_member_type" 1 { xfail { powerpc-ibm-aix* } } } } // { dg-final { scan-assembler-times " DW_AT_rvalue_reference" 2 { xfail { powerpc-ibm-aix* } } } } -// { dg-final { scan-assembler-not " DW_AT_use_location" { xfail { powerpc-ibm-aix* } } } } +// { dg-final { scan-assembler-not " DW_AT_use_location" } } /* It is not clear what if anything we should output for DW_AT_use_location in a pointer to member function, so we don't output it for now. */ -- 2.30.2