Commit 4f4b0ab8 by Rainer Orth Committed by Rainer Orth

Get rid of dg-skip-if etc. default args

	libstdc++-v3:
	* testsuite: Remove dg-skip-if, dg-xfail-if, dg-xfail-run-if
	default args.

	libgomp:
	* testsuite/libgomp.fortran/strassen.f90: Remove dg-skip-if
	default args.
	* testsuite/libgomp.oacc-c-c++-common/vprop.c: Remove
	dg-xfail-run-if default args.

	gcc/testsuite:
	Remove dg-skip-if, dg-xfail-if, dg-xfail-run-if default args.

From-SVN: r249339
parent 14d8a912
2017-06-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Remove dg-skip-if, dg-xfail-if, dg-xfail-run-if default args.
2017-06-16 Carl Love <cel@us.ibm.com> 2017-06-16 Carl Love <cel@us.ibm.com>
* gcc.target/powerpc/builtins-3-runnable.c (test_result_sp, * gcc.target/powerpc/builtins-3-runnable.c (test_result_sp,
......
/* Test for diagnostics for Wconversion for floating-point. */ /* Test for diagnostics for Wconversion for floating-point. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "doubles are floats" { "avr-*-*" } { "*" } { "" } } */ /* { dg-skip-if "doubles are floats" { "avr-*-*" } } */
/* { dg-options "-std=c99 -Wconversion" { target c } } */ /* { dg-options "-std=c99 -Wconversion" { target c } } */
/* { dg-options "-Wconversion" { target c++ } } */ /* { dg-options "-Wconversion" { target c++ } } */
/* { dg-require-effective-target large_double } */ /* { dg-require-effective-target large_double } */
......
/* { dg-skip-if "" { ! "powerpc*-*-linux*" } { "*" } { "" } } */ /* { dg-skip-if "" { ! "powerpc*-*-linux*" } } */
/* Test decimal float conversions to and from IBM 128-bit long double. /* Test decimal float conversions to and from IBM 128-bit long double.
Checks are skipped at runtime if long double is not 128 bits. Checks are skipped at runtime if long double is not 128 bits.
......
/* { dg-xfail-run-if "" { lax_strtofp } "*" "" } */ /* { dg-xfail-run-if "" { lax_strtofp } } */
/* { dg-options "-w" } */ /* { dg-options "-w" } */
/* This test assumes IEEE float and double. */ /* This test assumes IEEE float and double. */
......
/* { dg-xfail-run-if "" { lax_strtofp } "*" "" } */ /* { dg-xfail-run-if "" { lax_strtofp } } */
/* { dg-options "-w" } */ /* { dg-options "-w" } */
/* This test assumes IEEE float and double. */ /* This test assumes IEEE float and double. */
......
/* PR41779: Wconversion cannot see through real*integer promotions. */ /* PR41779: Wconversion cannot see through real*integer promotions. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "doubles are floats" { "avr-*-*" } { "*" } { "" } } */ /* { dg-skip-if "doubles are floats" { "avr-*-*" } } */
/* { dg-options "-std=c99 -Wconversion" { target c } } */ /* { dg-options "-std=c99 -Wconversion" { target c } } */
/* { dg-options "-Wconversion" { target c++ } } */ /* { dg-options "-Wconversion" { target c++ } } */
/* { dg-require-effective-target large_double } */ /* { dg-require-effective-target large_double } */
......
/* PR middle-end/54486 */ /* PR middle-end/54486 */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-Wformat" } */ /* { dg-options "-Wformat" } */
/* { dg-skip-if "no POSIX printf" { *-*-mingw* } { "*" } { "" } } */ /* { dg-skip-if "no POSIX printf" { *-*-mingw* } } */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// necessarily the type info object // necessarily the type info object
// { dg-require-weak "" } // { dg-require-weak "" }
// { dg-skip-if "Linkonce not weak" { *-*-mingw* *-*-cygwin } { "*" } { "" } } // { dg-skip-if "Linkonce not weak" { *-*-mingw* *-*-cygwin } }
// { dg-final { scan-assembler ".weak\[ \t\]_?_ZTSPP1A" { target { ! { *-*-darwin* hppa*-*-hpux* } } } } } // { dg-final { scan-assembler ".weak\[ \t\]_?_ZTSPP1A" { target { ! { *-*-darwin* hppa*-*-hpux* } } } } }
// { dg-final { scan-assembler-not ".weak\[ \t\]_?_ZTIPP1A" { target { ! { *-*-darwin* } } } } } // { dg-final { scan-assembler-not ".weak\[ \t\]_?_ZTIPP1A" { target { ! { *-*-darwin* } } } } }
// { dg-final { scan-assembler ".weak_definition\[ \t\]_?_ZTSPP1A" { target { *-*-darwin* } } } } // { dg-final { scan-assembler ".weak_definition\[ \t\]_?_ZTSPP1A" { target { *-*-darwin* } } } }
......
// { dg-require-weak "" } // { dg-require-weak "" }
// { dg-skip-if "Linkonce not weak" { *-*-mingw* *-*-cygwin } { "*" } { "" } } // { dg-skip-if "Linkonce not weak" { *-*-mingw* *-*-cygwin } }
// { dg-final { scan-assembler ".weak\[ \t\]_?_ZThn._N7Derived3FooEv" { target { ! { *-*-darwin* } } } } } // { dg-final { scan-assembler ".weak\[ \t\]_?_ZThn._N7Derived3FooEv" { target { ! { *-*-darwin* } } } } }
// { dg-final { scan-assembler ".weak_definition\[ \t\]_?_ZThn._N7Derived3FooEv" { target { *-*-darwin* } } } } // { dg-final { scan-assembler ".weak_definition\[ \t\]_?_ZThn._N7Derived3FooEv" { target { *-*-darwin* } } } }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Test cast from lvalue to rvalue // Test cast from lvalue to rvalue
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one" { "epiphany-*-*" } }
template <bool> struct sa; template <bool> struct sa;
template <> struct sa<true> {}; template <> struct sa<true> {};
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
// section "Revision 1 Summary and Rationale" for more details. // section "Revision 1 Summary and Rationale" for more details.
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one" { "epiphany-*-*" } }
template <bool> struct sa; template <bool> struct sa;
template <> struct sa<true> {}; template <> struct sa<true> {};
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Test: Named rvalue references are treated as lvalues. // Test: Named rvalue references are treated as lvalues.
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one" { "epiphany-*-*" } }
template <bool> struct sa; template <bool> struct sa;
template <> struct sa<true> {}; template <> struct sa<true> {};
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Test overload resolution among reference types // Test overload resolution among reference types
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } }
// { dg-additional-options "-fno-ipa-icf" } // { dg-additional-options "-fno-ipa-icf" }
template <bool> struct sa; template <bool> struct sa;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Test overload resolution among reference types // Test overload resolution among reference types
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } }
template <bool> struct sa; template <bool> struct sa;
template <> struct sa<true> {}; template <> struct sa<true> {};
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Test overload resolution among reference types // Test overload resolution among reference types
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } }
template <bool> struct sa; template <bool> struct sa;
template <> struct sa<true> {}; template <> struct sa<true> {};
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Test overload resolution among reference types // Test overload resolution among reference types
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } }
template <bool> struct sa; template <bool> struct sa;
template <> struct sa<true> {}; template <> struct sa<true> {};
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Test overload resolution among reference types // Test overload resolution among reference types
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } }
template <bool> struct sa; template <bool> struct sa;
template <> struct sa<true> {}; template <> struct sa<true> {};
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Test overload resolution among reference types // Test overload resolution among reference types
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } }
template <bool> struct sa; template <bool> struct sa;
template <> struct sa<true> {}; template <> struct sa<true> {};
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Test overload resolution among reference types // Test overload resolution among reference types
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } }
template <bool> struct sa; template <bool> struct sa;
template <> struct sa<true> {}; template <> struct sa<true> {};
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Test overload resolution among reference types // Test overload resolution among reference types
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct one/three/five/seven" { "epiphany-*-*" } }
template <bool> struct sa; template <bool> struct sa;
template <> struct sa<true> {}; template <> struct sa<true> {};
......
// 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-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-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-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" } }
......
// PR debug/46583 // PR debug/46583
// { dg-do compile } // { dg-do compile }
// { dg-options "-O -fno-inline -fipa-cp -fipa-cp-clone -fcompare-debug" } // { dg-options "-O -fno-inline -fipa-cp -fipa-cp-clone -fcompare-debug" }
// { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-xfail-if "" { powerpc-ibm-aix* } }
template < typename = unsigned long >struct A template < typename = unsigned long >struct A
{ {
......
// { dg-do compile } // { dg-do compile }
// { dg-options "-O -fpartial-inlining -flto -fconserve-stack -fcompare-debug" } // { dg-options "-O -fpartial-inlining -flto -fconserve-stack -fcompare-debug" }
// { dg-require-effective-target lto } // { dg-require-effective-target lto }
// { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-xfail-if "" { powerpc-ibm-aix* } }
void end (int, int) __attribute__ ((__noreturn__)); void end (int, int) __attribute__ ((__noreturn__));
......
// { dg-do compile } // { dg-do compile }
// { dg-options "-fno-ipa-sra -fcompare-debug" } // { dg-options "-fno-ipa-sra -fcompare-debug" }
// { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-xfail-if "" { powerpc-ibm-aix* } }
struct comp_cost { int cost; unsigned complexity; }; struct comp_cost { int cost; unsigned complexity; };
struct cost_pair { struct iv_cand *cand; }; struct cost_pair { struct iv_cand *cand; };
......
// PR debug/56819 // PR debug/56819
// { dg-do compile } // { dg-do compile }
// { dg-options "-fcompare-debug" } // { dg-options "-fcompare-debug" }
// { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-xfail-if "" { powerpc-ibm-aix* } }
template <typename> template <typename>
struct A struct A
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O2 -fcompare-debug" } */ /* { dg-options "-O2 -fcompare-debug" } */
/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */ /* { dg-xfail-if "" { powerpc-ibm-aix* } } */
namespace std namespace std
{ {
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-gdwarf-2" } */ /* { dg-options "-gdwarf-2" } */
/* { dg-skip-if "No Dwarf" { { *-*-aix* hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */ /* { dg-skip-if "No Dwarf" { { *-*-aix* hppa*-*-hpux* } && { ! hppa*64*-*-* } } } */
/* This was a bug on x86-darwin, where the register numbering for SP /* This was a bug on x86-darwin, where the register numbering for SP
and BP was swapped (it's easy to do because on that port it's and BP was swapped (it's easy to do because on that port it's
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// wrong for some fields. // wrong for some fields.
// { dg-do run } // { dg-do run }
// { dg-xfail-run-if "AIX ABI increases struct alignment for first member double" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-xfail-run-if "AIX ABI increases struct alignment for first member double" { powerpc-ibm-aix* } }
extern "C" void abort(); extern "C" void abort();
......
/* HP-UX libunwind.so doesn't provide _UA_END_OF_STACK */ /* HP-UX libunwind.so doesn't provide _UA_END_OF_STACK */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-fexceptions" } */ /* { dg-options "-fexceptions" } */
/* { dg-skip-if "" { "ia64-*-hpux11.*" } { "*" } { "" } } */ /* { dg-skip-if "" { "ia64-*-hpux11.*" } } */
/* Verify that cleanups work with exception handling. */ /* Verify that cleanups work with exception handling. */
#include <unwind.h> #include <unwind.h>
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single -O0" } */ /* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single -O0" } */
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */ /* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */
typedef int v2si __attribute__ ((vector_size (8))); typedef int v2si __attribute__ ((vector_size (8)));
......
// PR c++/40502 // PR c++/40502
// { dg-do compile } // { dg-do compile }
// { dg-options "-O2" } // { dg-options "-O2" }
// { dg-skip-if "packed attribute missing for struct A" { "epiphany-*-*" } { "*" } { "" } } // { dg-skip-if "packed attribute missing for struct A" { "epiphany-*-*" } }
struct A { char x[12], y[35]; }; struct A { char x[12], y[35]; };
struct B { char z[50]; }; struct B { char z[50]; };
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// { dg-options "-fpic" } // { dg-options "-fpic" }
// { dg-do compile { target i?86-*-* x86_64-*-* } } // { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } // { dg-skip-if "" { *-*-darwin* } }
// { dg-require-visibility "" } // { dg-require-visibility "" }
// { dg-require-effective-target fpic } // { dg-require-effective-target fpic }
// { dg-final { scan-assembler "InitEv@PLT" } } // { dg-final { scan-assembler "InitEv@PLT" } }
......
// Test for ABI forward-compatibility aliases with LTO. // Test for ABI forward-compatibility aliases with LTO.
// { dg-skip-if "" { { ! { i?86-*-* x86_64-*-* } } || { *-*-darwin* } } { "*" } { "" } } // { dg-skip-if "" { { ! { i?86-*-* x86_64-*-* } } || { *-*-darwin* } } }
// { dg-lto-options {"-flto -fabi-version=2"} } // { dg-lto-options {"-flto -fabi-version=2"} }
#include "20100302.h" #include "20100302.h"
......
// PR tree-optimization/60002 // PR tree-optimization/60002
// { dg-do compile } // { dg-do compile }
// { dg-options "-O2 -fcompare-debug -fdeclone-ctor-dtor -fipa-cp-clone" } // { dg-options "-O2 -fcompare-debug -fdeclone-ctor-dtor -fipa-cp-clone" }
// { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-xfail-if "" { powerpc-ibm-aix* } }
struct A {}; struct A {};
......
// Test whether vtable for S is not put into read-only section. // Test whether vtable for S is not put into read-only section.
// { dg-do compile { target fpic } } // { dg-do compile { target fpic } }
// { dg-options "-O2 -fpic -fno-rtti" } // { dg-options "-O2 -fpic -fno-rtti" }
// { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } { "*" } { "" } } // { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } }
// { dg-skip-if "No Windows PIC" { *-*-mingw* *-*-cygwin } { "*" } { "" } } // { dg-skip-if "No Windows PIC" { *-*-mingw* *-*-cygwin } }
// Origin: Jakub Jelinek <jakub@redhat.com> // Origin: Jakub Jelinek <jakub@redhat.com>
struct S struct S
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */ /* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */ /* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */
#define __vector __attribute__((vector_size(8))) #define __vector __attribute__((vector_size(8)))
typedef float __vector __ev64_fs__; typedef float __vector __ev64_fs__;
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */ /* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */ /* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */
#define __vector __attribute__((vector_size(8))) #define __vector __attribute__((vector_size(8)))
typedef float __vector __ev64_fs__; typedef float __vector __ev64_fs__;
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */ /* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */ /* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */
__ev64_opaque__ o; __ev64_opaque__ o;
#define v __attribute__((vector_size(8))) #define v __attribute__((vector_size(8)))
......
// { dg-do compile } // { dg-do compile }
// { dg-options "-O -funroll-loops -fcompare-debug" } // { dg-options "-O -funroll-loops -fcompare-debug" }
// { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } // { dg-xfail-if "" { powerpc-ibm-aix* } }
void Remap(int n, int *src, int *dst, int *map) void Remap(int n, int *src, int *dst, int *map)
{ {
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "" } */ /* { dg-options "" } */
/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */ /* { dg-xfail-if "" { powerpc-ibm-aix* } } */
/* { dg-skip-if "" { ! ucn } { "*" } { "" } } */ /* { dg-skip-if "" { ! ucn } } */
#include <cstdlib> #include <cstdlib>
int \u00C0(void) { return 1; } int \u00C0(void) { return 1; }
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-g" } */ /* { dg-options "-g" } */
/* { dg-skip-if "" { { hppa*-*-hpux* *-*-solaris2.[56]* powerpc-ibm-aix* } && { ! hppa*64*-*-* } } { "*" } { "" } } */ /* { dg-skip-if "" { { hppa*-*-hpux* *-*-solaris2.[56]* powerpc-ibm-aix* } && { ! hppa*64*-*-* } } } */
/* Make sure we didn't eliminate casted types because we thought they were /* Make sure we didn't eliminate casted types because we thought they were
unused. */ unused. */
......
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */
/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
/* { dg-options "-mcpu=power8 -O3 -ffast-math -mcmodel=small -mno-fp-in-toc" } */ /* { dg-options "-mcpu=power8 -O3 -ffast-math -mcmodel=small -mno-fp-in-toc" } */
......
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */
/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
/* { dg-options "-mcpu=power8 -O3 -ffast-math -mcmodel=small -mfp-in-toc" } */ /* { dg-options "-mcpu=power8 -O3 -ffast-math -mcmodel=small -mfp-in-toc" } */
......
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */
/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
/* { dg-options "-mcpu=power8 -O3 -ffast-math -mcmodel=medium" } */ /* { dg-options "-mcpu=power8 -O3 -ffast-math -mcmodel=medium" } */
......
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */
/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
/* { dg-options "-mcpu=power7 -O3 -ffast-math" } */ /* { dg-options "-mcpu=power7 -O3 -ffast-math" } */
......
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */
/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
/* { dg-options "-mcpu=power8 -O3" } */ /* { dg-options "-mcpu=power8 -O3" } */
......
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */
/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
/* { dg-options "-mcpu=power7 -mtune=power8 -O3 -w" } */ /* { dg-options "-mcpu=power7 -mtune=power8 -O3 -w" } */
......
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */
/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
/* { dg-options "-mcpu=power8 -w -std=c++14 -mlra" } */ /* { dg-options "-mcpu=power8 -w -std=c++14 -mlra" } */
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "No dwarf debug support" { hppa*-*-hpux* } "*" "" } */ /* { dg-skip-if "No dwarf debug support" { hppa*-*-hpux* } } */
/* { dg-options "-g -dA -gdwarf-4 -std=gnu++11" } */ /* { dg-options "-g -dA -gdwarf-4 -std=gnu++11" } */
/* { dg-options "-g -dA -std=gnu++11 -gdwarf-4" } */ /* { dg-options "-g -dA -std=gnu++11 -gdwarf-4" } */
/* { dg-final { scan-assembler-times DW_AT_object_pointer 18 } } */ /* { dg-final { scan-assembler-times DW_AT_object_pointer 18 } } */
......
/* { dg-do link } */ /* { dg-do link } */
/* { dg-timeout-factor 2.0 } */ /* { dg-timeout-factor 2.0 } */
/* { dg-skip-if "Program too big" { "avr-*-*" } { "*" } { "" } } */ /* { dg-skip-if "Program too big" { "avr-*-*" } } */
namespace Loki namespace Loki
{ {
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */ /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
#include "check.h" #include "check.h"
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */ /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
#include "check.h" #include "check.h"
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */ /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
#include "check.h" #include "check.h"
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */ /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
#include "check.h" #include "check.h"
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */ /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
#include <stdarg.h> #include <stdarg.h>
#include "check.h" #include "check.h"
......
/* { dg-options "-Wno-abi" {target arm_eabi} } */ /* { dg-options "-Wno-abi" {target arm_eabi} } */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */ /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
#include <stdarg.h> #include <stdarg.h>
#include "check.h" #include "check.h"
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */ /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
#include "check.h" #include "check.h"
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */ /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
#include "check.h" #include "check.h"
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */ /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
#include "check.h" #include "check.h"
......
// { dg-do run } // { dg-do run }
// { dg-require-weak "" } // { dg-require-weak "" }
// The PA HP-UX dynamic loader doesn't support unsatisfied weak symbols. // The PA HP-UX dynamic loader doesn't support unsatisfied weak symbols.
// { dg-skip-if "No unsat" { hppa*-*-hpux* } { "*" } { "" } } // { dg-skip-if "No unsat" { hppa*-*-hpux* } }
// { dg-skip-if "No weak unsat" { *-*-aix* } { "*" } { "" } } // { dg-skip-if "No weak unsat" { *-*-aix* } }
// The darwin loader does, but they do need to exist at link time. // The darwin loader does, but they do need to exist at link time.
// { dg-skip-if "No link unsat" { *-*-darwin* } { "*" } { "" } } // { dg-skip-if "No link unsat" { *-*-darwin* } }
// For kernel modules and static RTPs, the loader treats undefined weak // For kernel modules and static RTPs, the loader treats undefined weak
// symbols in the same way as undefined strong symbols. The test // symbols in the same way as undefined strong symbols. The test
// therefore fails to load, so skip it. // therefore fails to load, so skip it.
......
// { dg-do assemble } // { dg-do assemble }
// { dg-xfail-if "" { sparc64-*-elf } { "*" } { "" } } // { dg-xfail-if "" { sparc64-*-elf } }
// { dg-options "-g" } // { dg-options "-g" }
// GROUPS passed old-abort // GROUPS passed old-abort
extern "C" { typedef int jmp_buf[12]; } extern "C" { typedef int jmp_buf[12]; }
......
// { dg-do assemble } // { dg-do assemble }
// { dg-xfail-if "" { sparc64-*-elf } { "*" } { "" } } // { dg-xfail-if "" { sparc64-*-elf } }
// { dg-options "-pedantic-errors -g -Wall" } // { dg-options "-pedantic-errors -g -Wall" }
// GROUPS passed synthetics // GROUPS passed synthetics
// Check to make sure that g++ doesn't get freaked out about the use // Check to make sure that g++ doesn't get freaked out about the use
......
// { dg-do run { target fpic } } // { dg-do run { target fpic } }
// { dg-options "-fPIC" } // { dg-options "-fPIC" }
// { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } { "*" } { "" } } // { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } }
// Test that non-variadic function calls using thunks and PIC work right. // Test that non-variadic function calls using thunks and PIC work right.
struct A { struct A {
......
// { dg-do run } // { dg-do run }
// { dg-skip-if "fails with generic thunk support" { rs6000-*-* powerpc-*-eabi v850-*-* sh-*-* h8*-*-* xtensa*-*-* m32r*-*-* lm32-*-* nios2-*-* } { "*" } { "" } } // { dg-skip-if "fails with generic thunk support" { rs6000-*-* powerpc-*-eabi v850-*-* sh-*-* h8*-*-* xtensa*-*-* m32r*-*-* lm32-*-* nios2-*-* } }
// Test that variadic function calls using thunks work right. // Test that variadic function calls using thunks work right.
// Note that this will break on any target that uses the generic thunk // Note that this will break on any target that uses the generic thunk
// support, because it doesn't support variadic functions. // support, because it doesn't support variadic functions.
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
// defined to no larger than the size of an unsigned int, or where // defined to no larger than the size of an unsigned int, or where
// PCC_BITFIELD_TYPE_MATTERS is defined. Add skips below for targets that // PCC_BITFIELD_TYPE_MATTERS is defined. Add skips below for targets that
// do not have that property. // do not have that property.
// { dg-skip-if "" { mmix-knuth-mmixware } { "*" } { "" } } // { dg-skip-if "" { mmix-knuth-mmixware } }
#include <stdio.h> #include <stdio.h>
......
// { dg-do assemble } // { dg-do assemble }
// { dg-xfail-if "" { arm-*-pe } { "*" } { "" } } // { dg-xfail-if "" { arm-*-pe } }
// { dg-options "-fexceptions" } // { dg-options "-fexceptions" }
int atoi(const char *); int atoi(const char *);
......
// { dg-do assemble } // { dg-do assemble }
// { dg-xfail-if "" { xstormy16-*-* } { "*" } { "" } } // { dg-xfail-if "" { xstormy16-*-* } }
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
// { dg-do assemble } // { dg-do assemble }
// { dg-xfail-if "" { sparc64-*-elf arm-*-pe } { "*" } { "" } } // { dg-xfail-if "" { sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" } // { dg-options "-fexceptions" }
// prms-id: 10416 // prms-id: 10416
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
// { dg-do link { target fpic } } // { dg-do link { target fpic } }
// { dg-additional-sources " comdat5-aux.cc" } // { dg-additional-sources " comdat5-aux.cc" }
// { dg-options "-O2 -fPIC" } // { dg-options "-O2 -fPIC" }
// { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } { "*" } { "" } } // { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } }
#include "comdat4.C" #include "comdat4.C"
// { dg-do assemble { target fpic } } // { dg-do assemble { target fpic } }
// { dg-options "-O0 -fpic" } // { dg-options "-O0 -fpic" }
// { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } { "*" } { "" } } // { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } }
// Origin: Jakub Jelinek <jakub@redhat.com> // Origin: Jakub Jelinek <jakub@redhat.com>
struct bar { struct bar {
......
// { dg-do assemble { target i?86-*-linux* i?86-*-gnu* x86_64-*-linux* } } // { dg-do assemble { target i?86-*-linux* i?86-*-gnu* x86_64-*-linux* } }
// We'd use ebx with 32-bit pic code, so skip. // We'd use ebx with 32-bit pic code, so skip.
// { dg-skip-if "" { ilp32 && { ! nonpic } } { "*" } { "" } } // { dg-skip-if "" { ilp32 && { ! nonpic } } }
// Origin: "Weidmann, Nicholas" <nicholas.weidmann@swx.ch> // Origin: "Weidmann, Nicholas" <nicholas.weidmann@swx.ch>
template<int i> int foo(int v) template<int i> int foo(int v)
......
// { dg-do assemble } // { dg-do assemble }
// { dg-xfail-if "" { xstormy16-*-* } { "*" } { "" } } // { dg-xfail-if "" { xstormy16-*-* } }
// { dg-options "" } // { dg-options "" }
extern "C" void qsort(void *base, __SIZE_TYPE__ nmemb, __SIZE_TYPE__ size, extern "C" void qsort(void *base, __SIZE_TYPE__ nmemb, __SIZE_TYPE__ size,
......
// { dg-do link } // { dg-do link }
// { dg-xfail-if "" { *-*-aout *-*-coff *-*-hms } { "*" } { "" } } // { dg-xfail-if "" { *-*-aout *-*-coff *-*-hms } }
// Simplified from testcase by Erez Louidor Lior <s3824888@techst02.technion.ac.il> // Simplified from testcase by Erez Louidor Lior <s3824888@techst02.technion.ac.il>
......
/* This does not work on h8300 due to the use of an asm /* This does not work on h8300 due to the use of an asm
statement to force a 'long long' (64-bits) to go in a register. */ statement to force a 'long long' (64-bits) to go in a register. */
/* { dg-do assemble } */ /* { dg-do assemble } */
/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ia32 && { ! nonpic } } } { "*" } { "" } } */ /* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ia32 && { ! nonpic } } } } */
/* { dg-skip-if "No 64-bit registers" { m32c-*-* } { "*" } { "" } } */ /* { dg-skip-if "No 64-bit registers" { m32c-*-* } } */
/* { dg-skip-if "Not enough 64-bit registers" { pdp11-*-* } { "-O0" } { "" } } */ /* { dg-skip-if "Not enough 64-bit registers" { pdp11-*-* } { "-O0" } { "" } } */
/* { dg-xfail-if "" { h8300-*-* } { "*" } { "" } } */ /* { dg-xfail-if "" { h8300-*-* } } */
/* Copyright (C) 2000, 2003 Free Software Foundation */ /* Copyright (C) 2000, 2003 Free Software Foundation */
__complex__ long long f () __complex__ long long f ()
......
/* { dg-do assemble } */ /* { dg-do assemble } */
/* { dg-skip-if "too much code for avr" { "avr-*-*" } { "*" } { "" } } */ /* { dg-skip-if "too much code for avr" { "avr-*-*" } } */
/* { dg-skip-if "too much code for pdp11" { "pdp11-*-*" } { "*" } { "" } } */ /* { dg-skip-if "too much code for pdp11" { "pdp11-*-*" } } */
/* { dg-xfail-if "PR36698" { spu-*-* } { "-O0" } { "" } } */ /* { dg-xfail-if "PR36698" { spu-*-* } { "-O0" } { "" } } */
/* { dg-skip-if "" { m32c-*-* } { "*" } { "" } } */ /* { dg-skip-if "" { m32c-*-* } } */
/* { dg-timeout-factor 4.0 } */ /* { dg-timeout-factor 4.0 } */
/* This testcase exposed two branch shortening bugs on powerpc. */ /* This testcase exposed two branch shortening bugs on powerpc. */
......
/* PR middle-end/26092 */ /* PR middle-end/26092 */
/* { dg-skip-if "can't take address of malloc" { nvptx-*-* } { "*" } { "" } } */ /* { dg-skip-if "can't take address of malloc" { nvptx-*-* } } */
typedef __SIZE_TYPE__ size_t; typedef __SIZE_TYPE__ size_t;
extern void *malloc (size_t); extern void *malloc (size_t);
......
/* { dg-skip-if "can't read function data" { nvptx-*-* } { "*" } { "" } } */ /* { dg-skip-if "can't read function data" { nvptx-*-* } } */
void foo(void); void foo(void);
void bar(void); void bar(void);
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "" { pdp11-*-* } { "*" } { "" } } */ /* { dg-skip-if "" { pdp11-*-* } } */
f(){asm("%0"::"r"(1.5F));}g(){asm("%0"::"r"(1.5));} f(){asm("%0"::"r"(1.5F));}g(){asm("%0"::"r"(1.5));}
/* The arrays are too large for the xstormy16 - won't fit in 16 bits. */ /* The arrays are too large for the xstormy16 - won't fit in 16 bits. */
/* { dg-do assemble } */ /* { dg-do assemble } */
/* { dg-require-effective-target size32plus } */ /* { dg-require-effective-target size32plus } */
/* { dg-skip-if "Array too big" { "avr-*-*" } { "*" } { "" } } */ /* { dg-skip-if "Array too big" { "avr-*-*" } } */
/* { dg-xfail-if "The array too big" { h8300-*-* } { "-mno-h" "-mn" } { "" } } */ /* { dg-xfail-if "The array too big" { h8300-*-* } { "-mno-h" "-mn" } { "" } } */
unsigned char TIFFFax2DMode[20][256]; unsigned char TIFFFax2DMode[20][256];
......
/* { dg-skip-if "ptxas runs out of memory" { nvptx-*-* } { "*" } { "" } } */ /* { dg-skip-if "ptxas runs out of memory" { nvptx-*-* } } */
/* { dg-require-effective-target int32plus } */ /* { dg-require-effective-target int32plus } */
/* Inspired by the test case for PR middle-end/52640. */ /* Inspired by the test case for PR middle-end/52640. */
......
/* { dg-skip-if "too complex for avr" { avr-*-* } { "*" } { "" } } */ /* { dg-skip-if "too complex for avr" { avr-*-* } } */
/* { dg-skip-if "ptxas times out" { nvptx-*-* } { "*" } { "" } } */ /* { dg-skip-if "ptxas times out" { nvptx-*-* } } */
/* { dg-timeout-factor 4.0 } */ /* { dg-timeout-factor 4.0 } */
#define LIM1(x) x##0, x##1, x##2, x##3, x##4, x##5, x##6, x##7, x##8, x##9, #define LIM1(x) x##0, x##1, x##2, x##3, x##4, x##5, x##6, x##7, x##8, x##9,
#define LIM2(x) LIM1(x##0) LIM1(x##1) LIM1(x##2) LIM1(x##3) LIM1(x##4) \ #define LIM2(x) LIM1(x##0) LIM1(x##1) LIM1(x##2) LIM1(x##3) LIM1(x##4) \
......
/* { dg-skip-if "Array too big" { avr-*-* m32c-*-* pdp11-*-* msp430-*-* } { "*" } { "" } } */ /* { dg-skip-if "Array too big" { avr-*-* m32c-*-* pdp11-*-* msp430-*-* } } */
#define STR2 "012345678901234567890123456789012345678901234567890123456789\ #define STR2 "012345678901234567890123456789012345678901234567890123456789\
0123456789012345678901234567890123456789" 0123456789012345678901234567890123456789"
......
/* { dg-skip-if "" { pdp11-*-* } { "*" } { "" } } */ /* { dg-skip-if "" { pdp11-*-* } } */
/* PR target/35318 */ /* PR target/35318 */
void void
......
/* { dg-require-effective-target ptr32plus } */ /* { dg-require-effective-target ptr32plus } */
/* { dg-skip-if "The array is too big" { "avr-*-*" "pdp11-*-*" } { "*" } { "" } } */ /* { dg-skip-if "The array is too big" { "avr-*-*" "pdp11-*-*" } } */
char paths[1024]; char paths[1024];
static void x264_slicetype_path(char (*best_paths)[250], int n, int length) static void x264_slicetype_path(char (*best_paths)[250], int n, int length)
{ {
......
/* { dg-skip-if "too big" { avr-*-* nvptx-*-* pdp11-*-* } { "*" } { "" } } */ /* { dg-skip-if "too big" { avr-*-* nvptx-*-* pdp11-*-* } } */
/* PR middle-end/46534 */ /* PR middle-end/46534 */
extern int printf (const char *, ...); extern int printf (const char *, ...);
......
/* { dg-require-effective-target int32plus } */ /* { dg-require-effective-target int32plus } */
/* { dg-skip-if "pointers can be truncated" { m32c-*-* } "*" "" } */ /* { dg-skip-if "pointers can be truncated" { m32c-*-* } } */
/* Extracted from GDB sources. */ /* Extracted from GDB sources. */
typedef long long bfd_signed_vma; typedef long long bfd_signed_vma;
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
succeeded at all. We use volatile to make sure the long long is succeeded at all. We use volatile to make sure the long long is
actually truncated to int, in case a single register is wide enough actually truncated to int, in case a single register is wide enough
for a long long. */ for a long long. */
/* { dg-skip-if "asm would require extra shift-left-4-byte" { spu-*-* } "*" "" } */ /* { dg-skip-if "asm would require extra shift-left-4-byte" { spu-*-* } } */
/* { dg-skip-if "asm requires register allocation" { nvptx-*-* } "*" "" } */ /* { dg-skip-if "asm requires register allocation" { nvptx-*-* } } */
#include <limits.h> #include <limits.h>
void void
......
/* PR middle-end/30262 */ /* PR middle-end/30262 */
/* { dg-skip-if "asm statements do not work as expected" { rl78-*-* } "*" "" } */ /* { dg-skip-if "asm statements do not work as expected" { rl78-*-* } } */
extern void abort (void); extern void abort (void);
int int
......
/* This tests for a bug in regstack that was breaking glibc's math library. */ /* This tests for a bug in regstack that was breaking glibc's math library. */
/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */ /* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } } */
extern void abort (void); extern void abort (void);
......
/* { dg-xfail-if "ABI specifies bitfields cannot exceed 32 bits" { mcore-*-* } "*" "" } */ /* { dg-xfail-if "ABI specifies bitfields cannot exceed 32 bits" { mcore-*-* } } */
struct tmp struct tmp
{ {
long long int pad : 12; long long int pad : 12;
......
/* { dg-skip-if "requires io" { freestanding } { "*" } { "" } } */ /* { dg-skip-if "requires io" { freestanding } } */
/* This test tests complex conjugate and passing/returning of /* This test tests complex conjugate and passing/returning of
complex parameter. */ complex parameter. */
......
/* { dg-skip-if "requires io" { freestanding } { "*" } { "" } } */ /* { dg-skip-if "requires io" { freestanding } } */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
/* { dg-skip-if "requires io" { freestanding } { "*" } { "" } } */ /* { dg-skip-if "requires io" { freestanding } } */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
/* { dg-skip-if "requires io" { freestanding } { "*" } { "" } } */ /* { dg-skip-if "requires io" { freestanding } } */
/* Program to test gcc's usage of the gofast library. */ /* Program to test gcc's usage of the gofast library. */
......
/* { dg-require-effective-target mmap } */ /* { dg-require-effective-target mmap } */
/* { dg-skip-if "the executable is at the same position the test tries to remap" { m68k-*-linux* } { "*" } { "" } } */ /* { dg-skip-if "the executable is at the same position the test tries to remap" { m68k-*-linux* } } */
#include <limits.h> #include <limits.h>
......
/* { dg-require-effective-target mmap } */ /* { dg-require-effective-target mmap } */
/* { dg-skip-if "the executable is at the same position the test tries to remap" { m68k-*-linux* } { "*" } { "" } } */ /* { dg-skip-if "the executable is at the same position the test tries to remap" { m68k-*-linux* } } */
#include <limits.h> #include <limits.h>
......
/* { dg-skip-if "requires qsort" { freestanding } { "*" } { "" } } */ /* { dg-skip-if "requires qsort" { freestanding } } */
#include <stdlib.h> #include <stdlib.h>
......
/* { dg-skip-if "signed zero not supported" { "vax-*-*" } { "*" } { "" } } */ /* { dg-skip-if "signed zero not supported" { "vax-*-*" } } */
extern void abort (void); extern void abort (void);
double double
......
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