From 136429e2b7719fb3accd307327bd8816e251af66 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 26 Sep 2015 15:34:58 +0000 Subject: [PATCH] pr64935-1.c: XFAIL on AIX. * gcc.dg/pr64935-1.c: XFAIL on AIX. * gcc.dg/pr64935-2.c: XFAIL on AIX. * gcc.dg/debug/dwarf2/dwarf2-macro2.c: XFAIL Start new file on AIX. * gcc.dg/debug/dwarf2/dwarf2-macro2.c: XFAIL At line number on AIX. * gcc.dg/debug/dwarf2/global-used-types.c: XFAIL ascii on AIX. * gcc.dg/debug/dwarf2/noreturn-function-keyword.c: XFAIL DW_AT_noreturn on AIX. * gcc.dg/debug/dwarf2/noreturn-function-attribute.c: XFAIL DW_AT_noreturn on AIX. * gcc.dg/debug/dwarf2/lang-c89.c: XFAIL DW_AT_language on AIX. * gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: XFAIL DW_TAG on AIX. * g++.dg/debug/dwarf2/deleted-member-function.C: XFAIL DW_AT_GNU_deleted on AIX. * g++.dg/debug/dwarf2/noreturn-function.C: XFAIL DW_AT_noreturn on AIX. * g++.dg/debug/dwarf2/template-params-6.C: XFAIL ascii on AIX. * g++.dg/debug/dwarf2/dwarf4-nested.C: XFAIL ascii on AIX. * g++.dg/debug/dwarf2/pubnames-2.C: Skip on AIX. * g++.dg/debug/dwarf2/pr44641.C: Skip on AIX. * g++.dg/debug/dwarf2/pr46527.C: XFAIL on AIX. * g++.dg/debug/dwarf2/imported-decl-2.C: XFAIL ascii on AIX. * g++.dg/debug/dwarf2/namespace-1.C: XFAIL ascii on AIX. * g++.dg/debug/dwarf2/global-used-types-1.C: XFAIL ascii on AIX. * g++.dg/debug/dwarf2/lambda1.C: XFAIL ascii on AIX. * g++.dg/debug/dwarf2/pubnames-3.C: Skip on AIX. * g++.dg/debug/dwarf2/pr61433.C: XFAIL on AIX. * g++.dg/debug/dwarf2/nested-4.C: XFAIL on AIX. * g++.dg/debug/dwarf2/template-func-params-6.C: XFAIL ascii on AIX. * g++.dg/debug/dwarf2/lineno-simple1.C: XFAIL on AIX. From-SVN: r228168 --- gcc/testsuite/ChangeLog | 31 +++++++++++++++++++ .../debug/dwarf2/deleted-member-function.C | 2 +- .../g++.dg/debug/dwarf2/dwarf4-nested.C | 2 +- .../g++.dg/debug/dwarf2/global-used-types-1.C | 4 +-- .../g++.dg/debug/dwarf2/imported-decl-2.C | 4 +-- gcc/testsuite/g++.dg/debug/dwarf2/lambda1.C | 4 +-- .../g++.dg/debug/dwarf2/lineno-simple1.C | 6 ++-- .../g++.dg/debug/dwarf2/namespace-1.C | 2 +- gcc/testsuite/g++.dg/debug/dwarf2/nested-4.C | 2 +- .../g++.dg/debug/dwarf2/noreturn-function.C | 2 +- gcc/testsuite/g++.dg/debug/dwarf2/pr44641.C | 1 + gcc/testsuite/g++.dg/debug/dwarf2/pr46527.C | 2 +- gcc/testsuite/g++.dg/debug/dwarf2/pr61433.C | 1 + .../g++.dg/debug/dwarf2/pubnames-2.C | 1 + .../g++.dg/debug/dwarf2/pubnames-3.C | 1 + .../debug/dwarf2/template-func-params-6.C | 2 +- .../g++.dg/debug/dwarf2/template-params-6.C | 2 +- .../gcc.dg/debug/dwarf2/dwarf2-macro.c | 2 +- .../gcc.dg/debug/dwarf2/dwarf2-macro2.c | 2 +- .../gcc.dg/debug/dwarf2/global-used-types.c | 4 +-- gcc/testsuite/gcc.dg/debug/dwarf2/lang-c89.c | 2 +- .../dwarf2/noreturn-function-attribute.c | 2 +- .../debug/dwarf2/noreturn-function-keyword.c | 2 +- .../debug/dwarf2/stacked-qualified-types-3.c | 2 +- gcc/testsuite/gcc.dg/pr64935-1.c | 1 + gcc/testsuite/gcc.dg/pr64935-2.c | 1 + 26 files changed, 62 insertions(+), 25 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 74c0823a5bd..167e2e02dde 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,34 @@ +2015-09-26 David Edelsohn + + * gcc.dg/pr64935-1.c: XFAIL on AIX. + * gcc.dg/pr64935-2.c: XFAIL on AIX. + * gcc.dg/debug/dwarf2/dwarf2-macro2.c: XFAIL Start new file on AIX. + * gcc.dg/debug/dwarf2/dwarf2-macro2.c: XFAIL At line number on AIX. + * gcc.dg/debug/dwarf2/global-used-types.c: XFAIL ascii on AIX. + * gcc.dg/debug/dwarf2/noreturn-function-keyword.c: XFAIL + DW_AT_noreturn on AIX. + * gcc.dg/debug/dwarf2/noreturn-function-attribute.c: XFAIL + DW_AT_noreturn on AIX. + * gcc.dg/debug/dwarf2/lang-c89.c: XFAIL DW_AT_language on AIX. + * gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: XFAIL DW_TAG on AIX. + * g++.dg/debug/dwarf2/deleted-member-function.C: XFAIL + DW_AT_GNU_deleted on AIX. + * g++.dg/debug/dwarf2/noreturn-function.C: XFAIL DW_AT_noreturn on AIX. + * g++.dg/debug/dwarf2/template-params-6.C: XFAIL ascii on AIX. + * g++.dg/debug/dwarf2/dwarf4-nested.C: XFAIL ascii on AIX. + * g++.dg/debug/dwarf2/pubnames-2.C: Skip on AIX. + * g++.dg/debug/dwarf2/pr44641.C: Skip on AIX. + * g++.dg/debug/dwarf2/pr46527.C: XFAIL on AIX. + * g++.dg/debug/dwarf2/imported-decl-2.C: XFAIL ascii on AIX. + * g++.dg/debug/dwarf2/namespace-1.C: XFAIL ascii on AIX. + * g++.dg/debug/dwarf2/global-used-types-1.C: XFAIL ascii on AIX. + * g++.dg/debug/dwarf2/lambda1.C: XFAIL ascii on AIX. + * g++.dg/debug/dwarf2/pubnames-3.C: Skip on AIX. + * g++.dg/debug/dwarf2/pr61433.C: XFAIL on AIX. + * g++.dg/debug/dwarf2/nested-4.C: XFAIL on AIX. + * g++.dg/debug/dwarf2/template-func-params-6.C: XFAIL ascii on AIX. + * g++.dg/debug/dwarf2/lineno-simple1.C: XFAIL on AIX. + 2015-09-25 Steven G. Kargl PR fortran/67614 diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C b/gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C index a81028f6f69..c0c36a97775 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.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_GNU_deleted" 2 } } +// { dg-final { scan-assembler-times " DW_AT_GNU_deleted" 2 { xfail { powerpc-ibm-aix* } } } } struct Foo { diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/dwarf4-nested.C b/gcc/testsuite/g++.dg/debug/dwarf2/dwarf4-nested.C index 160694c3c9f..dec161bb7d4 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/dwarf4-nested.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/dwarf4-nested.C @@ -11,7 +11,7 @@ // Check that func is declared exactly once in the debug info (in the // compile unit). // -// { dg-final { scan-assembler-times "\\.ascii \"func\\\\0\"\[^\n\]*DW_AT_name" 1 } } +// { dg-final { scan-assembler-times "\\.ascii \"func\\\\0\"\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } } // // Check to make sure that no type unit contains a DIE with DW_AT_low_pc // or DW_AT_ranges. These patterns assume that the compile unit is always diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/global-used-types-1.C b/gcc/testsuite/g++.dg/debug/dwarf2/global-used-types-1.C index 30117e6ab70..79782c9d0d1 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/global-used-types-1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/global-used-types-1.C @@ -3,8 +3,8 @@ // { dg-do compile } // { dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) DW_TAG_enumeration_type" 1 } } // { dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) DW_TAG_enumerator" 2 } } -// { dg-final { scan-assembler-times "ascii \"a.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 } } -// { dg-final { scan-assembler-times "ascii \"b.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 } } +// { dg-final { scan-assembler-times "ascii \"a.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } } +// { dg-final { scan-assembler-times "ascii \"b.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } } struct foo { 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 ce01f72382a..58f19bee324 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" } } -// { dg-final { scan-assembler-times "ascii \"AAAA\\\\0\".*ascii \"BBBB\\\\0\".*DIE .0x\[0-9a-f\]*. DW_TAG_imported_declaration" 1 } } +// { dg-final { scan-assembler-not "ascii \"BBBB\\\\0\".*ascii \"AAAA\\\\0\".*DW_TAG_imported_declaration" { xfail { powerpc-ibm-aix* } } } } +// { 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/lambda1.C b/gcc/testsuite/g++.dg/debug/dwarf2/lambda1.C index ac62312df29..bd3ce5dc807 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/lambda1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/lambda1.C @@ -3,8 +3,8 @@ // { dg-options "-gdwarf-2 -dA -fno-merge-debug-strings -gno-strict-dwarf" } // Check for the local alias variables that point to the members of the closure. -// { dg-final { scan-assembler-times "DW_TAG_variable\[^.\]*\.ascii \"j.0\"" 4 } } -// { dg-final { scan-assembler-times "DW_TAG_variable\[^.\]*\.ascii \"this.0\"" 2 } } +// { dg-final { scan-assembler-times "DW_TAG_variable\[^.\]*\.ascii \"j.0\"" 4 { xfail { powerpc-ibm-aix* } } } } +// { dg-final { scan-assembler-times "DW_TAG_variable\[^.\]*\.ascii \"this.0\"" 2 { xfail { powerpc-ibm-aix* } } } } struct A { diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/lineno-simple1.C b/gcc/testsuite/g++.dg/debug/dwarf2/lineno-simple1.C index 55ecc18a3bd..0d7df3fbdd9 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/lineno-simple1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/lineno-simple1.C @@ -1,14 +1,14 @@ // { dg-do compile } // { dg-options "-gdwarf-2 -O0 -dA" } -struct C { // { dg-function-on-line {_ZN1CC[12]Ev} } +struct C { // { dg-function-on-line {_ZN1CC[12]Ev} { xfail { powerpc-ibm-aix* } } } int i; virtual void - foo() {} // { dg-function-on-line _ZN1C3fooEv } + foo() {} // { dg-function-on-line _ZN1C3fooEv { xfail { powerpc-ibm-aix* } } } }; static C dummy; int main (void) -{ // { dg-function-on-line main } +{ // { dg-function-on-line main { xfail { powerpc-ibm-aix* } } } } diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/namespace-1.C b/gcc/testsuite/g++.dg/debug/dwarf2/namespace-1.C index c86f9b1a6e2..34fa088811f 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/namespace-1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/namespace-1.C @@ -8,7 +8,7 @@ // { dg-final { scan-assembler-times "DIE +\\(\[^\n\]*\\) DW_TAG_namespace" 1 } } // { dg-final { scan-assembler-times "\"not_emitted.0\"\[^\n\]*DW_AT_name" 1 } } // { dg-final { scan-assembler-times "DIE +\\(\[^\n\]*\\) DW_TAG_typedef" 1 } } -// { dg-final { scan-assembler-times "\.ascii \"T.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 } } +// { dg-final { scan-assembler-times "\.ascii \"T.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } } struct strukt { diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/nested-4.C b/gcc/testsuite/g++.dg/debug/dwarf2/nested-4.C index 188e1ca10e8..75cc97b78b8 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/nested-4.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/nested-4.C @@ -1,6 +1,6 @@ // PR debug/53235 // { dg-options "-gdwarf-4 -fdebug-types-section" } -// { dg-final { scan-assembler-times "debug_types" 2 { xfail { *-*-darwin* || { *-*-solaris2.1[1-9]* && { ! gas } } } } } } +// { dg-final { scan-assembler-times "debug_types" 2 { xfail { powerpc-ibm-aix* || { *-*-darwin* || { *-*-solaris2.1[1-9]* && { ! gas } } } } } } } namespace E { class O {}; diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/noreturn-function.C b/gcc/testsuite/g++.dg/debug/dwarf2/noreturn-function.C index 73a0af49ca4..722ee13a89b 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/noreturn-function.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/noreturn-function.C @@ -1,7 +1,7 @@ // { dg-do compile } // { dg-options "-O -std=c++11 -g -dA -gno-strict-dwarf" } // Expect DW_AT_noreturn once in .debug_info and once in .debug_abbrev -// { dg-final { scan-assembler-times "DW_AT_noreturn" 2 } } +// { dg-final { scan-assembler-times "DW_AT_noreturn" 2 { xfail { powerpc-ibm-aix* } } } } class Foo { diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/pr44641.C b/gcc/testsuite/g++.dg/debug/dwarf2/pr44641.C index f08079c7656..3edec412ee1 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/pr44641.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/pr44641.C @@ -1,5 +1,6 @@ // Origin: PR 44641 // { dg-do compile } +// { dg-skip-if "" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-options "-gdwarf-2 -O0 -dA" } template struct MisplacedDbg; diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/pr46527.C b/gcc/testsuite/g++.dg/debug/dwarf2/pr46527.C index d29dfc0a11c..3fa484ee83b 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/pr46527.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/pr46527.C @@ -9,7 +9,7 @@ struct WrapperStruct { Struct ClassInstantiated; }; template double -Struct::defined_later() // { dg-function-on-line {_ZN6StructIdE13defined_laterEv} } +Struct::defined_later() // { dg-function-on-line {_ZN6StructIdE13defined_laterEv} { xfail { powerpc-ibm-aix* } } } { return 1; } diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/pr61433.C b/gcc/testsuite/g++.dg/debug/dwarf2/pr61433.C index a63b8a9ef2f..221727c19a6 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/pr61433.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/pr61433.C @@ -1,5 +1,6 @@ // PR c++/61433 // { dg-do compile { target c++11 } } +// { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-options "-O -fcompare-debug -fno-inline -fno-ipa-pure-const -fipa-sra" } template diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/pubnames-2.C b/gcc/testsuite/g++.dg/debug/dwarf2/pubnames-2.C index f2c0f24c1e8..bf94707de94 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/pubnames-2.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/pubnames-2.C @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-skip-if "" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-options "-gpubnames -gdwarf-4 -fno-debug-types-section -dA" } // { dg-final { scan-assembler-times "\.section\[\t \]\[^\n\]*debug_pubnames" 1 } } // { dg-final { scan-assembler "\"\\(anonymous namespace\\)\\\\0\"+\[ \t\]+\[#;/|@!]+\[ \t\]+external name" } } diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/pubnames-3.C b/gcc/testsuite/g++.dg/debug/dwarf2/pubnames-3.C index 62d6b0628c8..6ea8cbbbcfc 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/pubnames-3.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/pubnames-3.C @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-skip-if "" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-options "-gpubnames -gdwarf-4 -fdebug-types-section -dA" } // { dg-final { scan-assembler-times "\.section\[\t \]\[^\n\]*debug_pubnames" 1 } } // { dg-final { scan-assembler "\"\\(anonymous namespace\\)\\\\0\"+\[ \t\]+\[#;/|@!]+\[ \t\]+external name" } } diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/template-func-params-6.C b/gcc/testsuite/g++.dg/debug/dwarf2/template-func-params-6.C index 26a97731a3f..21c1341e6a0 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/template-func-params-6.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/template-func-params-6.C @@ -3,7 +3,7 @@ // { dg-options "-gdwarf-2 -dA -fno-merge-debug-strings" } // { dg-final { scan-assembler-times "DW_TAG_GNU_template_template_param" 2 } } // { dg-final { scan-assembler-times "\"vector.0\".*?DW_AT_GNU_template_name" 1 } } -// { dg-final { scan-assembler-times ".ascii \"U.0\".*?DW_AT_name" 1 } } +// { dg-final { scan-assembler-times ".ascii \"U.0\".*?DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } } template struct vector_base diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/template-params-6.C b/gcc/testsuite/g++.dg/debug/dwarf2/template-params-6.C index 0a454325740..3af76680c6a 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/template-params-6.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/template-params-6.C @@ -3,7 +3,7 @@ // { dg-options "-gdwarf-2 -dA -fno-merge-debug-strings" } // { dg-final { scan-assembler-times "DW_TAG_GNU_template_template_param" 2 } } // { dg-final { scan-assembler-times "\"vector.0\"\[^\n\]*DW_AT_GNU_template_name" 1 } } -// { dg-final { scan-assembler-times ".ascii \"U.0\"\[^\n\]*DW_AT_name" 1 } } +// { dg-final { scan-assembler-times ".ascii \"U.0\"\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } } template struct vector_base diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro.c b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro.c index fd61296b2f1..24b598e153c 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro.c @@ -1,7 +1,7 @@ /* Test to make sure the mcaro info includes a start file command for the main source */ /* { dg-do compile } */ /* { dg-options "-g3 -gdwarf -dA -fverbose-asm" } */ -/* { dg-final { scan-assembler "Start new file" } } */ +/* { dg-final { scan-assembler "Start new file" { xfail { powerpc-ibm-aix* } } } } */ #define ADD(x) (M + x) diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro2.c b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro2.c index 3dfa2908ef3..5204342adf7 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro2.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro2.c @@ -1,7 +1,7 @@ /* Test to make sure the macro info includes the predefined macros with line number 0. */ /* { dg-do compile } */ /* { dg-options "-g3 -gdwarf -dA -fverbose-asm" } */ -/* { dg-final { scan-assembler "At line number 0" } } */ +/* { dg-final { scan-assembler "At line number 0" { xfail { powerpc-ibm-aix* } } } } */ #define FOO 1 int i; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/global-used-types.c b/gcc/testsuite/gcc.dg/debug/dwarf2/global-used-types.c index 431b429dea5..32f272b9788 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/global-used-types.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/global-used-types.c @@ -4,8 +4,8 @@ { dg-do compile } { dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) DW_TAG_enumeration_type" 1 } } { dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) DW_TAG_enumerator" 2 } } - { dg-final { scan-assembler-times "ascii \"a.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 } } - { dg-final { scan-assembler-times "ascii \"b.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 } } + { dg-final { scan-assembler-times "ascii \"a.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } } + { dg-final { scan-assembler-times "ascii \"b.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } } */ enum { a, b }; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/lang-c89.c b/gcc/testsuite/gcc.dg/debug/dwarf2/lang-c89.c index 6292cf8f9c9..b6b4a89ff8e 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/lang-c89.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/lang-c89.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O -std=c89 -g -dA" } */ /* DW_LANG_C89 = 0x0001 */ -/* { dg-final { scan-assembler "0x1.*DW_AT_language" } } */ +/* { dg-final { scan-assembler "0x1.*DW_AT_language" { xfail { powerpc-ibm-aix* } } } } */ int version; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/noreturn-function-attribute.c b/gcc/testsuite/gcc.dg/debug/dwarf2/noreturn-function-attribute.c index 7c8924a6ca5..bc2cfa52073 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/noreturn-function-attribute.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/noreturn-function-attribute.c @@ -1,7 +1,7 @@ // { dg-do compile } // { dg-options "-O -std=c99 -g -dA -gno-strict-dwarf" } // Expect DW_AT_noreturn once in .debug_info and once in .debug_abbrev -// { dg-final { scan-assembler-times "DW_AT_noreturn" 2 } } +// { dg-final { scan-assembler-times "DW_AT_noreturn" 2 { xfail { powerpc-ibm-aix* } } } } void __attribute__ ((noreturn)) baz (void) diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/noreturn-function-keyword.c b/gcc/testsuite/gcc.dg/debug/dwarf2/noreturn-function-keyword.c index ced96d19799..0105e6c3a15 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/noreturn-function-keyword.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/noreturn-function-keyword.c @@ -1,7 +1,7 @@ // { dg-do compile } // { dg-options "-O -std=c11 -g -dA -gno-strict-dwarf" } // Expect DW_AT_noreturn once in .debug_info and once in .debug_abbrev -// { dg-final { scan-assembler-times "DW_AT_noreturn" 2 } } +// { dg-final { scan-assembler-times "DW_AT_noreturn" 2 { xfail { powerpc-ibm-aix* } } } } _Noreturn void exit (int); diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c b/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c index efa3fa0b1f2..dac4405b36c 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c @@ -31,4 +31,4 @@ char * _Atomic restrict h; char * _Atomic i; char * restrict j; -/* { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type" 8 } } */ +/* { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type" 8 { xfail { powerpc-ibm-aix* } } } } */ diff --git a/gcc/testsuite/gcc.dg/pr64935-1.c b/gcc/testsuite/gcc.dg/pr64935-1.c index 0fc6b58caed..08f2531d6ac 100644 --- a/gcc/testsuite/gcc.dg/pr64935-1.c +++ b/gcc/testsuite/gcc.dg/pr64935-1.c @@ -1,6 +1,7 @@ /* PR rtl-optimization/64935 */ /* { dg-do compile } */ /* { dg-options "-std=gnu89 -Wno-shift-count-overflow -O2 -fcompare-debug" } */ +/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */ int a[] = {}, b[] = {}, c[] = {}, d[] = {}, e[] = {}, f[] = {}, h[] = {}; int g[] = { 0 }; diff --git a/gcc/testsuite/gcc.dg/pr64935-2.c b/gcc/testsuite/gcc.dg/pr64935-2.c index 3b45382a825..8d0a81aa560 100644 --- a/gcc/testsuite/gcc.dg/pr64935-2.c +++ b/gcc/testsuite/gcc.dg/pr64935-2.c @@ -2,6 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-O -fschedule-insns --param=max-sched-ready-insns=0 -fcompare-debug" } */ /* { dg-require-effective-target scheduling } */ +/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */ void foo (int *data, unsigned len, const int qlp_coeff[], -- 2.30.2