mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
testsuite: fix dg-require-effective-target order vs dg-additional-sources
Per gccint, 'dg-require-effective-target' must come before any 'dg-additional-sources' directives. Fix a handful of deviant cases. gcc/testsuite/ChangeLog: * gcc.target/aarch64/aapcs64/func-ret-3.c: Fix dg-require-effective-target directive order. * gcc.target/aarch64/aapcs64/func-ret-4.c: Likewise. * gfortran.dg/PR100914.f90: Likewise. libgomp/ChangeLog: * testsuite/libgomp.c++/pr24455.C: Fix dg-require-effective-target directive order. * testsuite/libgomp.c/pr24455.c: Likewise.
This commit is contained in:
parent
d398581485
commit
9ad3d1c581
@ -4,9 +4,9 @@
|
||||
in AAPCS64 \S 4.3.5. */
|
||||
|
||||
/* { dg-do run { target aarch64-*-* } } */
|
||||
/* { dg-require-effective-target aarch64_big_endian } */
|
||||
/* { dg-additional-options "-mbranch-protection=none" } */
|
||||
/* { dg-additional-sources "abitest.S" } */
|
||||
/* { dg-require-effective-target aarch64_big_endian } */
|
||||
|
||||
#ifndef IN_FRAMEWORK
|
||||
#define TESTFILE "func-ret-3.c"
|
||||
|
@ -5,9 +5,9 @@
|
||||
are treated as general composite types. */
|
||||
|
||||
/* { dg-do run { target aarch64*-*-* } } */
|
||||
/* { dg-require-effective-target aarch64_big_endian } */
|
||||
/* { dg-additional-options "-mbranch-protection=none" } */
|
||||
/* { dg-additional-sources "abitest.S" } */
|
||||
/* { dg-require-effective-target aarch64_big_endian } */
|
||||
|
||||
#ifndef IN_FRAMEWORK
|
||||
#define TESTFILE "func-ret-4.c"
|
||||
|
@ -1,7 +1,7 @@
|
||||
! Fails on x86 targets where sizeof(long double) == 16.
|
||||
! { dg-do run }
|
||||
! { dg-additional-sources PR100914.c }
|
||||
! { dg-require-effective-target fortran_real_c_float128 }
|
||||
! { dg-additional-sources PR100914.c }
|
||||
! { dg-additional-options "-Wno-pedantic" }
|
||||
!
|
||||
! Test the fix for PR100914
|
||||
|
@ -1,6 +1,6 @@
|
||||
// { dg-do run }
|
||||
// { dg-additional-sources pr24455-1.C }
|
||||
// { dg-require-effective-target tls_runtime }
|
||||
// { dg-additional-sources pr24455-1.C }
|
||||
// { dg-options "-fno-extern-tls-init" }
|
||||
|
||||
extern "C" void abort (void);
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-additional-sources pr24455-1.c } */
|
||||
/* { dg-require-effective-target tls_runtime } */
|
||||
/* { dg-additional-sources pr24455-1.c } */
|
||||
|
||||
extern void abort (void);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user