From 075be4a1f95c941981c560b85a57765789f877ac Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 2 Nov 2016 12:39:06 +0000 Subject: [PATCH] inline-var-1.C: XFAIL AIX. * g++.dg/debug/dwarf2/inline-var-1.C: XFAIL AIX. * g++.dg/debug/dwarf2/ref-2.C: XFAIL AIX. * g++.dg/debug/dwarf2/constexpr-var-1.C: XFAIL AIX. From-SVN: r241786 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.dg/debug/dwarf2/constexpr-var-1.C | 2 +- gcc/testsuite/g++.dg/debug/dwarf2/inline-var-1.C | 10 +++++----- gcc/testsuite/g++.dg/debug/dwarf2/ref-2.C | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4b3e9ec1510..b8bf7ff2519 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-11-02 David Edelsohn + + * g++.dg/debug/dwarf2/inline-var-1.C: XFAIL AIX. + * g++.dg/debug/dwarf2/ref-2.C: XFAIL AIX. + * g++.dg/debug/dwarf2/constexpr-var-1.C: XFAIL AIX. + 2016-11-02 Rainer Orth * lib/target-supports.exp (check_gc_sections_available): Use diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/constexpr-var-1.C b/gcc/testsuite/g++.dg/debug/dwarf2/constexpr-var-1.C index 045d5fed744..19062e29fd5 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/constexpr-var-1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/constexpr-var-1.C @@ -1,6 +1,6 @@ // { dg-do compile } // { dg-options "-O -std=c++11 -g -dA -gno-strict-dwarf" } -// { dg-final { scan-assembler-times " DW_AT_const_expr" 2 } } +// { dg-final { scan-assembler-times " DW_AT_const_expr" 2 { xfail *-*-aix* } } } constexpr int a = 5; struct S diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/inline-var-1.C b/gcc/testsuite/g++.dg/debug/dwarf2/inline-var-1.C index da8014c257d..f4f4b6d77d1 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/inline-var-1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/inline-var-1.C @@ -1,11 +1,11 @@ // { dg-do compile } // { dg-options "-O -std=c++1z -g -dA -gno-strict-dwarf" } // { dg-require-weak "" } -// { dg-final { scan-assembler-times "0x3\[^\n\r]* DW_AT_inline" 6 } } -// { dg-final { scan-assembler-times "0x1\[^\n\r]* DW_AT_inline" 2 } } -// { dg-final { scan-assembler-times " DW_AT_declaration" 6 } } -// { dg-final { scan-assembler-times " DW_AT_specification" 6 } } -// { dg-final { scan-assembler-times " DW_AT_\[^\n\r]*linkage_name" 7 } } +// { dg-final { scan-assembler-times "0x3\[^\n\r]* DW_AT_inline" 6 { xfail *-*-aix* } } } +// { dg-final { scan-assembler-times "0x1\[^\n\r]* DW_AT_inline" 2 { xfail *-*-aix* } } } +// { dg-final { scan-assembler-times " DW_AT_declaration" 6 { xfail *-*-aix* } } } +// { dg-final { scan-assembler-times " DW_AT_specification" 6 { xfail *-*-aix* } } } +// { dg-final { scan-assembler-times " DW_AT_\[^\n\r]*linkage_name" 7 { xfail *-*-aix* } } } inline int a; struct S diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/ref-2.C b/gcc/testsuite/g++.dg/debug/dwarf2/ref-2.C index dd1f457d3ec..43939c9d697 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/ref-2.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/ref-2.C @@ -1,7 +1,7 @@ // { dg-do compile { target c++11 } } // { dg-options "-g -gno-strict-dwarf -dA" } -// { dg-final { scan-assembler-times " DW_AT_reference" 1 } } -// { dg-final { scan-assembler-times " DW_AT_rvalue_reference" 1 } } +// { dg-final { scan-assembler-times " DW_AT_reference" 1 { xfail *-*-aix* } } } +// { dg-final { scan-assembler-times " DW_AT_rvalue_reference" 1 { xfail *-*-aix* } } } struct S { -- 2.30.2