diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2007-09-27 20:10:15 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-09-27 20:10:15 +0000 |
commit | da2ce74a2e7911007d73d18dda05741035b175b2 (patch) | |
tree | fb7dc438b39167b74bdd03254c7d8845a234ad58 | |
parent | b91bd851582e05a8e6cc1035dd0a84a02c43d06b (diff) | |
download | gcc-da2ce74a2e7911007d73d18dda05741035b175b2.zip gcc-da2ce74a2e7911007d73d18dda05741035b175b2.tar.gz gcc-da2ce74a2e7911007d73d18dda05741035b175b2.tar.bz2 |
c99-tgmath-1.c: Require c99_runtime and add the associated options.
gcc/testsuite/
* gcc.dg/c99-tgmath-1.c: Require c99_runtime and add the associated
options.
* gcc.dg/c99-tgmath-2.c: Likewise.
* gcc.dg/c99-tgmath-3.c: Likewise.
* gcc.dg/c99-tgmath-4.c: Likewise.
From-SVN: r128847
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/c99-tgmath-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/c99-tgmath-2.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/c99-tgmath-3.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/c99-tgmath-4.c | 3 |
5 files changed, 16 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4f608d0..619e625 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2007-09-27 Richard Sandiford <rsandifo@nildram.co.uk> + + * gcc.dg/c99-tgmath-1.c: Require c99_runtime and add the associated + options. + * gcc.dg/c99-tgmath-2.c: Likewise. + * gcc.dg/c99-tgmath-3.c: Likewise. + * gcc.dg/c99-tgmath-4.c: Likewise. + 2007-09-27 Paul Thomas <pault@gcc.gnu.org> PR fortran/33568 diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-1.c b/gcc/testsuite/gcc.dg/c99-tgmath-1.c index bef6ab1..c7d848c 100644 --- a/gcc/testsuite/gcc.dg/c99-tgmath-1.c +++ b/gcc/testsuite/gcc.dg/c99-tgmath-1.c @@ -1,7 +1,8 @@ /* Test for <tgmath.h> in C99. */ /* Origin: Matt Austern <austern@apple.com> -/* { dg-do preprocess } */ +/* { dg-do preprocess { target c99_runtime } } */ /* { dg-options "-std=iso9899:1999" } */ +/* { dg-add-options c99_runtime } */ /* Test that tgmath defines the macros it's supposed to. */ #include <tgmath.h> diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-2.c b/gcc/testsuite/gcc.dg/c99-tgmath-2.c index 22435f3..d4f1f87 100644 --- a/gcc/testsuite/gcc.dg/c99-tgmath-2.c +++ b/gcc/testsuite/gcc.dg/c99-tgmath-2.c @@ -1,7 +1,8 @@ /* Test for <tgmath.h> in C99. */ /* Origin: Matt Austern <austern@apple.com> -/* { dg-do compile } */ +/* { dg-do compile { target c99_runtime } } */ /* { dg-options "-std=iso9899:1999" } */ +/* { dg-add-options c99_runtime } */ /* Test that invoking type-generic sin on a float invokes sinf. */ #include <tgmath.h> diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-3.c b/gcc/testsuite/gcc.dg/c99-tgmath-3.c index d3eaca1..3e98304 100644 --- a/gcc/testsuite/gcc.dg/c99-tgmath-3.c +++ b/gcc/testsuite/gcc.dg/c99-tgmath-3.c @@ -1,7 +1,8 @@ /* Test for <tgmath.h> in C99. */ /* Origin: Matt Austern <austern@apple.com> -/* { dg-do compile } */ +/* { dg-do compile { target c99_runtime } } */ /* { dg-options "-std=iso9899:1999" } */ +/* { dg-add-options c99_runtime } */ /* Test that invoking type-generic exp on a complex invokes cexp. */ #include <tgmath.h> diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-4.c b/gcc/testsuite/gcc.dg/c99-tgmath-4.c index 7d40449..d8dc043 100644 --- a/gcc/testsuite/gcc.dg/c99-tgmath-4.c +++ b/gcc/testsuite/gcc.dg/c99-tgmath-4.c @@ -1,7 +1,8 @@ /* Test for <tgmath.h> in C99. */ /* Origin: Matt Austern <austern@apple.com> -/* { dg-do compile } */ +/* { dg-do compile { target c99_runtime } } */ /* { dg-options "-std=iso9899:1999" } */ +/* { dg-add-options c99_runtime } */ /* Test that invoking type-generic pow on complex float invokes cpowf. */ #include <tgmath.h> |