From 3147bc6ccc25c917e79b1ef499b4ce145bee3fc1 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sun, 17 Mar 2019 18:24:14 +0000 Subject: [PATCH] pr88074.c: Require c99_runtime. * gcc.dg/pr88074.c: Require c99_runtime. * gcc.dg/warn-abs-1.c: Likewise. * gfortran.dg/ISO_Fortran_binding_1.f90: Likewise. From-SVN: r269743 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/pr88074.c | 2 +- gcc/testsuite/gcc.dg/warn-abs-1.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90 | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7278ffe47eb..0c4ff4ac581 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2019-03-17 John David Anglin + * gcc.dg/pr88074.c: Require c99_runtime. + * gcc.dg/warn-abs-1.c: Likewise. + * gfortran.dg/ISO_Fortran_binding_1.f90: Likewise. + PR testsuite/89666 * c-c++-common/builtin-has-attribute-3.c: Define SKIP_ALIAS on hppa*-*-hpux*. diff --git a/gcc/testsuite/gcc.dg/pr88074.c b/gcc/testsuite/gcc.dg/pr88074.c index 9f64cc11424..082f620fda0 100644 --- a/gcc/testsuite/gcc.dg/pr88074.c +++ b/gcc/testsuite/gcc.dg/pr88074.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target c99_runtime } } */ /* { dg-options "-O" } */ #include diff --git a/gcc/testsuite/gcc.dg/warn-abs-1.c b/gcc/testsuite/gcc.dg/warn-abs-1.c index c016ff620c4..a7f2ab20014 100644 --- a/gcc/testsuite/gcc.dg/warn-abs-1.c +++ b/gcc/testsuite/gcc.dg/warn-abs-1.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target c99_runtime } } */ /* { dg-options "-Wabsolute-value" } */ #include diff --git a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90 b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90 index e12b3a06e41..79d133d7ac0 100644 --- a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90 +++ b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90 @@ -1,4 +1,4 @@ -! { dg-do run } +! { dg-do run { target c99_runtime } } ! { dg-additional-sources ISO_Fortran_binding_1.c } ! ! Test F2008 18.5: ISO_Fortran_binding.h functions. -- 2.30.2