From da2ce74a2e7911007d73d18dda05741035b175b2 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 27 Sep 2007 20:10:15 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 8 ++++++++ gcc/testsuite/gcc.dg/c99-tgmath-1.c | 3 ++- gcc/testsuite/gcc.dg/c99-tgmath-2.c | 3 ++- gcc/testsuite/gcc.dg/c99-tgmath-3.c | 3 ++- 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 4f608d0e98e..619e6253922 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2007-09-27 Richard Sandiford + + * 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 PR fortran/33568 diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-1.c b/gcc/testsuite/gcc.dg/c99-tgmath-1.c index bef6ab1b918..c7d848c7a6c 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 in C99. */ /* Origin: Matt Austern -/* { 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 diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-2.c b/gcc/testsuite/gcc.dg/c99-tgmath-2.c index 22435f3f9a4..d4f1f87cfa9 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 in C99. */ /* Origin: Matt Austern -/* { 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 diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-3.c b/gcc/testsuite/gcc.dg/c99-tgmath-3.c index d3eaca15aee..3e983042751 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 in C99. */ /* Origin: Matt Austern -/* { 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 diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-4.c b/gcc/testsuite/gcc.dg/c99-tgmath-4.c index 7d40449a773..d8dc043c261 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 in C99. */ /* Origin: Matt Austern -/* { 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 -- 2.11.4.GIT