Commit 54cd497b by Christophe Lyon Committed by Christophe Lyon

[testsuite] Fix order of dg-do and dg-require-effective-target directives

2015-09-30  Christophe Lyon  <christophe.lyon@linaro.org>

	* g++.dg/cpp0x/stdint.C: Move dg-require-effective-target after
	dg-do.
	* g++.dg/gomp/tls-wrap4.C: Likewise.
	* gcc.dg/atomic-op-optimize.c: Likewise.
	* gcc.dg/pr54087.c: Likewise.
	* gcc.dg/tls/section-2.c: Likewise.
	* gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a-pr63175.c:
	Likewise.
	* gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c: Likewise.
	* gcc.dg/vect/trapv-vect-reduc-4.c: Likewise.
	* gcc.target/arm/divzero.c: Likewise.
	* gcc.target/arm/sibcall-2.c: Likewise.
	* gcc.target/arm/thumb1-Os-mult.c: Likewise.
	* gcc.target/arm/thumb1-load-64bit-constant-1.c: Likewise.
	* gcc.target/arm/thumb1-load-64bit-constant-2.c: Likewise.
	* gcc.target/arm/thumb1-load-64bit-constant-3.c: Likewise.
	* gcc.target/arm/volatile-bitfields-1.c: Likewise.
	* gcc.target/arm/volatile-bitfields-2.c: Likewise.
	* gcc.target/arm/volatile-bitfields-3.c: Likewise.
	* gcc.target/arm/volatile-bitfields-4.c: Likewise.
	* gfortran.dg/default_format_2.f90: Likewise.
	* gfortran.dg/default_format_denormal_2.f90: Likewise.

From-SVN: r228280
parent 76d5b80a
2015-09-30 Christophe Lyon <christophe.lyon@linaro.org>
* g++.dg/cpp0x/stdint.C: Move dg-require-effective-target after
dg-do.
* g++.dg/gomp/tls-wrap4.C: Likewise.
* gcc.dg/atomic-op-optimize.c: Likewise.
* gcc.dg/pr54087.c: Likewise.
* gcc.dg/tls/section-2.c: Likewise.
* gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a-pr63175.c:
Likewise.
* gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c: Likewise.
* gcc.dg/vect/trapv-vect-reduc-4.c: Likewise.
* gcc.target/arm/divzero.c: Likewise.
* gcc.target/arm/sibcall-2.c: Likewise.
* gcc.target/arm/thumb1-Os-mult.c: Likewise.
* gcc.target/arm/thumb1-load-64bit-constant-1.c: Likewise.
* gcc.target/arm/thumb1-load-64bit-constant-2.c: Likewise.
* gcc.target/arm/thumb1-load-64bit-constant-3.c: Likewise.
* gcc.target/arm/volatile-bitfields-1.c: Likewise.
* gcc.target/arm/volatile-bitfields-2.c: Likewise.
* gcc.target/arm/volatile-bitfields-3.c: Likewise.
* gcc.target/arm/volatile-bitfields-4.c: Likewise.
* gfortran.dg/default_format_2.f90: Likewise.
* gfortran.dg/default_format_denormal_2.f90: Likewise.
2015-09-29 Jonathan Roelofs <jonathan@codesourcery.com> 2015-09-29 Jonathan Roelofs <jonathan@codesourcery.com>
* gcc.dg/debug/pr65771.c: Use tls_runtime instead of tls. * gcc.dg/debug/pr65771.c: Use tls_runtime instead of tls.
......
// PR c++/52764 // PR c++/52764
// { dg-require-effective-target stdint_types }
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-require-effective-target stdint_types }
#include <stdint.h> #include <stdint.h>
......
// We don't need to call the wrapper through the PLT; we can use a separate // We don't need to call the wrapper through the PLT; we can use a separate
// copy per shared object. // copy per shared object.
// { dg-require-effective-target tls }
// { dg-do compile { target c++11 } } // { dg-do compile { target c++11 } }
// { dg-require-effective-target tls }
// { dg-options "-fPIC" } // { dg-options "-fPIC" }
// { dg-final { scan-assembler-not "_ZTW1i@PLT" { target i?86-*-* x86_64-*-* } } } // { dg-final { scan-assembler-not "_ZTW1i@PLT" { target i?86-*-* x86_64-*-* } } }
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
Test that it at happens on x86 by making sure there are 2 xchg's and no Test that it at happens on x86 by making sure there are 2 xchg's and no
compare_exchange loop. */ compare_exchange loop. */
/* { dg-require-effective-target sync_int_long } */
/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */ /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
/* { dg-require-effective-target sync_int_long } */
/* { dg-final { scan-assembler-times "cmpxchg" 0 } } */ /* { dg-final { scan-assembler-times "cmpxchg" 0 } } */
/* { dg-final { scan-assembler-times "xchg" 2 } } */ /* { dg-final { scan-assembler-times "xchg" 2 } } */
......
/* PR54087. Verify __atomic_sub (val) uses __atomic_add (-val) if there is no /* PR54087. Verify __atomic_sub (val) uses __atomic_add (-val) if there is no
atomic_aub. */ atomic_aub. */
/* { dg-require-effective-target sync_int_long } */
/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */ /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
/* { dg-require-effective-target sync_int_long } */
/* { dg-final { scan-assembler-times "xadd" 2 } } */ /* { dg-final { scan-assembler-times "xadd" 2 } } */
......
/* Verify that we get errors for trying to put TLS data in /* Verify that we get errors for trying to put TLS data in
sections which can't work. */ sections which can't work. */
/* { dg-require-effective-target tls } */
/* { dg-do compile { target *-*-vxworks } } */ /* { dg-do compile { target *-*-vxworks } } */
/* { dg-require-effective-target tls } */
#define A(X) __attribute__((section(X))) #define A(X) __attribute__((section(X)))
......
/* { dg-require-effective-target vect_int } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
#define N 16 #define N 16
......
/* { dg-require-effective-target vect_float } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target vect_float } */
#include <stdlib.h> #include <stdlib.h>
#include "../../tree-vect.h" #include "../../tree-vect.h"
......
/* { dg-require-effective-target vect_int } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
#include <stdarg.h> #include <stdarg.h>
#include "tree-vect.h" #include "tree-vect.h"
......
/* { dg-do run } */
/* { dg-require-effective-target arm_eabi } */ /* { dg-require-effective-target arm_eabi } */
/* { dg-options "" } */ /* { dg-options "" } */
/* { dg-do run } */
/* Check that long long divmod functions pass the right argument to /* Check that long long divmod functions pass the right argument to
__aeabi_ldiv0 on divide by zero. */ __aeabi_ldiv0 on divide by zero. */
......
/* { dg-require-effective-target arm_eabi } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target arm_eabi } */
/* { dg-options "-O2 -mabi=aapcs" } */ /* { dg-options "-O2 -mabi=aapcs" } */
......
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-options "-Os" } */ /* { dg-options "-Os" } */
/* { dg-skip-if "" { ! { arm_thumb1 } } } */ /* { dg-skip-if "" { ! { arm_thumb1 } } } */
......
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-options "-Os" } */ /* { dg-options "-Os" } */
/* { dg-skip-if "" { ! { arm_thumb1 } } } */ /* { dg-skip-if "" { ! { arm_thumb1 } } } */
......
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
/* { dg-skip-if "" { ! { arm_thumb1 } } } */ /* { dg-skip-if "" { ! { arm_thumb1 } } } */
......
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-options "-Os" } */ /* { dg-options "-Os" } */
/* { dg-skip-if "" { ! { arm_thumb1 } } } */ /* { dg-skip-if "" { ! { arm_thumb1 } } } */
......
/* { dg-require-effective-target arm_eabi } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target arm_eabi } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
typedef struct { typedef struct {
......
/* { dg-require-effective-target arm_eabi } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target arm_eabi } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
typedef struct { typedef struct {
......
/* { dg-require-effective-target arm_eabi } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target arm_eabi } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
typedef struct { typedef struct {
......
/* { dg-require-effective-target arm_eabi } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target arm_eabi } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
/* { dg-final { scan-assembler-times "ldr\[\\t \]+\[^\n\]*,\[\\t \]*\\\[\[^\n\]*\\\]" 2 } } */ /* { dg-final { scan-assembler-times "ldr\[\\t \]+\[^\n\]*,\[\\t \]*\\\[\[^\n\]*\\\]" 2 } } */
/* { dg-final { scan-assembler-times "str\[\\t \]+\[^\n\]*,\[\\t \]*\\\[\[^\n\]*\\\]" 2 } } */ /* { dg-final { scan-assembler-times "str\[\\t \]+\[^\n\]*,\[\\t \]*\\\[\[^\n\]*\\\]" 2 } } */
......
! { dg-require-effective-target fortran_large_real }
! { dg-do run { xfail powerpc*-apple-darwin* powerpc*-*-linux* } } ! { dg-do run { xfail powerpc*-apple-darwin* powerpc*-*-linux* } }
! { dg-require-effective-target fortran_large_real }
! Test XFAILed on these platforms because the system's printf() lacks ! Test XFAILed on these platforms because the system's printf() lacks
! proper support for denormalized long doubles. See PR24685 ! proper support for denormalized long doubles. See PR24685
! !
......
! { dg-require-effective-target fortran_large_real }
! { dg-do run { xfail powerpc*-apple-darwin* } } ! { dg-do run { xfail powerpc*-apple-darwin* } }
! { dg-require-effective-target fortran_large_real }
! Test XFAILed on this platform because the system's printf() lacks ! Test XFAILed on this platform because the system's printf() lacks
! proper support for denormalized long doubles. See PR24685 ! proper support for denormalized long doubles. See PR24685
! !
......
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