Commit 136429e2 by David Edelsohn Committed by David Edelsohn

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
parent 51fbbb92
2015-09-26 David Edelsohn <dje.gcc@gmail.com>
* 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 <kargl@gcc.gnu.org> 2015-09-25 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/67614 PR fortran/67614
......
// { dg-do compile } // { dg-do compile }
// { dg-options "-O -std=c++11 -g -dA -gno-strict-dwarf" } // { 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 struct Foo
{ {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
// Check that func is declared exactly once in the debug info (in the // Check that func is declared exactly once in the debug info (in the
// compile unit). // 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 // 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 // or DW_AT_ranges. These patterns assume that the compile unit is always
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// { dg-do compile } // { 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_enumeration_type" 1 } }
// { dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) DW_TAG_enumerator" 2 } } // { 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 \"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 } } // { dg-final { scan-assembler-times "ascii \"b.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } }
struct foo struct foo
{ {
......
...@@ -28,5 +28,5 @@ BBBB::method (int b) ...@@ -28,5 +28,5 @@ BBBB::method (int b)
return a + b; return a + b;
} }
// { dg-final { scan-assembler-not "ascii \"BBBB\\\\0\".*ascii \"AAAA\\\\0\".*DW_TAG_imported_declaration" } } // { 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 } } // { 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* } } } }
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// { dg-options "-gdwarf-2 -dA -fno-merge-debug-strings -gno-strict-dwarf" } // { 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. // 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 \"j.0\"" 4 { xfail { powerpc-ibm-aix* } } } }
// { dg-final { scan-assembler-times "DW_TAG_variable\[^.\]*\.ascii \"this.0\"" 2 } } // { dg-final { scan-assembler-times "DW_TAG_variable\[^.\]*\.ascii \"this.0\"" 2 { xfail { powerpc-ibm-aix* } } } }
struct A struct A
{ {
......
// { dg-do compile } // { dg-do compile }
// { dg-options "-gdwarf-2 -O0 -dA" } // { 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; int i;
virtual void virtual void
foo() {} // { dg-function-on-line _ZN1C3fooEv } foo() {} // { dg-function-on-line _ZN1C3fooEv { xfail { powerpc-ibm-aix* } } }
}; };
static C dummy; static C dummy;
int int
main (void) main (void)
{ // { dg-function-on-line main } { // { dg-function-on-line main { xfail { powerpc-ibm-aix* } } }
} }
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// { dg-final { scan-assembler-times "DIE +\\(\[^\n\]*\\) DW_TAG_namespace" 1 } } // { 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 "\"not_emitted.0\"\[^\n\]*DW_AT_name" 1 } }
// { dg-final { scan-assembler-times "DIE +\\(\[^\n\]*\\) DW_TAG_typedef" 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 struct strukt
{ {
......
// PR debug/53235 // PR debug/53235
// { dg-options "-gdwarf-4 -fdebug-types-section" } // { 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 { namespace E {
class O {}; class O {};
......
// { dg-do compile } // { dg-do compile }
// { dg-options "-O -std=c++11 -g -dA -gno-strict-dwarf" } // { dg-options "-O -std=c++11 -g -dA -gno-strict-dwarf" }
// Expect DW_AT_noreturn once in .debug_info and once in .debug_abbrev // 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 class Foo
{ {
......
// Origin: PR 44641 // Origin: PR 44641
// { dg-do compile } // { dg-do compile }
// { dg-skip-if "" { powerpc-ibm-aix* } { "*" } { "" } }
// { dg-options "-gdwarf-2 -O0 -dA" } // { dg-options "-gdwarf-2 -O0 -dA" }
template <class A> struct MisplacedDbg; template <class A> struct MisplacedDbg;
......
...@@ -9,7 +9,7 @@ struct WrapperStruct { ...@@ -9,7 +9,7 @@ struct WrapperStruct {
Struct<double> ClassInstantiated; Struct<double> ClassInstantiated;
}; };
template <typename T> double template <typename T> double
Struct<T>::defined_later() // { dg-function-on-line {_ZN6StructIdE13defined_laterEv} } Struct<T>::defined_later() // { dg-function-on-line {_ZN6StructIdE13defined_laterEv} { xfail { powerpc-ibm-aix* } } }
{ {
return 1; return 1;
} }
......
// PR c++/61433 // PR c++/61433
// { dg-do compile { target c++11 } } // { 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" } // { dg-options "-O -fcompare-debug -fno-inline -fno-ipa-pure-const -fipa-sra" }
template <class T> template <class T>
......
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "" { powerpc-ibm-aix* } { "*" } { "" } }
// { dg-options "-gpubnames -gdwarf-4 -fno-debug-types-section -dA" } // { 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-times "\.section\[\t \]\[^\n\]*debug_pubnames" 1 } }
// { dg-final { scan-assembler "\"\\(anonymous namespace\\)\\\\0\"+\[ \t\]+\[#;/|@!]+\[ \t\]+external name" } } // { dg-final { scan-assembler "\"\\(anonymous namespace\\)\\\\0\"+\[ \t\]+\[#;/|@!]+\[ \t\]+external name" } }
......
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "" { powerpc-ibm-aix* } { "*" } { "" } }
// { dg-options "-gpubnames -gdwarf-4 -fdebug-types-section -dA" } // { dg-options "-gpubnames -gdwarf-4 -fdebug-types-section -dA" }
// { dg-final { scan-assembler-times "\.section\[\t \]\[^\n\]*debug_pubnames" 1 } } // { dg-final { scan-assembler-times "\.section\[\t \]\[^\n\]*debug_pubnames" 1 } }
// { dg-final { scan-assembler "\"\\(anonymous namespace\\)\\\\0\"+\[ \t\]+\[#;/|@!]+\[ \t\]+external name" } } // { dg-final { scan-assembler "\"\\(anonymous namespace\\)\\\\0\"+\[ \t\]+\[#;/|@!]+\[ \t\]+external name" } }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// { dg-options "-gdwarf-2 -dA -fno-merge-debug-strings" } // { 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 "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 "\"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 <class T> template <class T>
struct vector_base struct vector_base
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// { dg-options "-gdwarf-2 -dA -fno-merge-debug-strings" } // { 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 "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 "\"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 <class T> template <class T>
struct vector_base struct vector_base
......
/* Test to make sure the mcaro info includes a start file command for the main source */ /* Test to make sure the mcaro info includes a start file command for the main source */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-g3 -gdwarf -dA -fverbose-asm" } */ /* { 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) #define ADD(x) (M + x)
......
/* Test to make sure the macro info includes the predefined macros with line number 0. */ /* Test to make sure the macro info includes the predefined macros with line number 0. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-g3 -gdwarf -dA -fverbose-asm" } */ /* { 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 #define FOO 1
int i; int i;
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
{ dg-do compile } { 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_enumeration_type" 1 } }
{ dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) DW_TAG_enumerator" 2 } } { 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 \"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 } } { dg-final { scan-assembler-times "ascii \"b.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } }
*/ */
enum { a, b }; enum { a, b };
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O -std=c89 -g -dA" } */ /* { dg-options "-O -std=c89 -g -dA" } */
/* DW_LANG_C89 = 0x0001 */ /* 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; int version;
// { dg-do compile } // { dg-do compile }
// { dg-options "-O -std=c99 -g -dA -gno-strict-dwarf" } // { dg-options "-O -std=c99 -g -dA -gno-strict-dwarf" }
// Expect DW_AT_noreturn once in .debug_info and once in .debug_abbrev // 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)) void __attribute__ ((noreturn))
baz (void) baz (void)
......
// { dg-do compile } // { dg-do compile }
// { dg-options "-O -std=c11 -g -dA -gno-strict-dwarf" } // { dg-options "-O -std=c11 -g -dA -gno-strict-dwarf" }
// Expect DW_AT_noreturn once in .debug_info and once in .debug_abbrev // 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); _Noreturn void exit (int);
......
...@@ -31,4 +31,4 @@ char * _Atomic restrict h; ...@@ -31,4 +31,4 @@ char * _Atomic restrict h;
char * _Atomic i; char * _Atomic i;
char * restrict j; 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* } } } } */
/* PR rtl-optimization/64935 */ /* PR rtl-optimization/64935 */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-std=gnu89 -Wno-shift-count-overflow -O2 -fcompare-debug" } */ /* { 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 a[] = {}, b[] = {}, c[] = {}, d[] = {}, e[] = {}, f[] = {}, h[] = {};
int g[] = { 0 }; int g[] = { 0 };
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O -fschedule-insns --param=max-sched-ready-insns=0 -fcompare-debug" } */ /* { dg-options "-O -fschedule-insns --param=max-sched-ready-insns=0 -fcompare-debug" } */
/* { dg-require-effective-target scheduling } */ /* { dg-require-effective-target scheduling } */
/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
void void
foo (int *data, unsigned len, const int qlp_coeff[], foo (int *data, unsigned len, const int qlp_coeff[],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment