Commit da2ce74a by Richard Sandiford Committed by Richard Sandiford

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
parent b91bd851
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> 2007-09-27 Paul Thomas <pault@gcc.gnu.org>
PR fortran/33568 PR fortran/33568
/* Test for <tgmath.h> in C99. */ /* Test for <tgmath.h> in C99. */
/* Origin: Matt Austern <austern@apple.com> /* Origin: Matt Austern <austern@apple.com>
/* { dg-do preprocess } */ /* { dg-do preprocess { target c99_runtime } } */
/* { dg-options "-std=iso9899:1999" } */ /* { dg-options "-std=iso9899:1999" } */
/* { dg-add-options c99_runtime } */
/* Test that tgmath defines the macros it's supposed to. */ /* Test that tgmath defines the macros it's supposed to. */
#include <tgmath.h> #include <tgmath.h>
......
/* Test for <tgmath.h> in C99. */ /* Test for <tgmath.h> in C99. */
/* Origin: Matt Austern <austern@apple.com> /* Origin: Matt Austern <austern@apple.com>
/* { dg-do compile } */ /* { dg-do compile { target c99_runtime } } */
/* { dg-options "-std=iso9899:1999" } */ /* { dg-options "-std=iso9899:1999" } */
/* { dg-add-options c99_runtime } */
/* Test that invoking type-generic sin on a float invokes sinf. */ /* Test that invoking type-generic sin on a float invokes sinf. */
#include <tgmath.h> #include <tgmath.h>
......
/* Test for <tgmath.h> in C99. */ /* Test for <tgmath.h> in C99. */
/* Origin: Matt Austern <austern@apple.com> /* Origin: Matt Austern <austern@apple.com>
/* { dg-do compile } */ /* { dg-do compile { target c99_runtime } } */
/* { dg-options "-std=iso9899:1999" } */ /* { dg-options "-std=iso9899:1999" } */
/* { dg-add-options c99_runtime } */
/* Test that invoking type-generic exp on a complex invokes cexp. */ /* Test that invoking type-generic exp on a complex invokes cexp. */
#include <tgmath.h> #include <tgmath.h>
......
/* Test for <tgmath.h> in C99. */ /* Test for <tgmath.h> in C99. */
/* Origin: Matt Austern <austern@apple.com> /* Origin: Matt Austern <austern@apple.com>
/* { dg-do compile } */ /* { dg-do compile { target c99_runtime } } */
/* { dg-options "-std=iso9899:1999" } */ /* { dg-options "-std=iso9899:1999" } */
/* { dg-add-options c99_runtime } */
/* Test that invoking type-generic pow on complex float invokes cpowf. */ /* Test that invoking type-generic pow on complex float invokes cpowf. */
#include <tgmath.h> #include <tgmath.h>
......
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