This patch fixes three tests that fail on hppa*-*-hpux* due to the lack of
c99 complex support.

Committed to trunk.

Dave
-- 
John David Anglin  dave.ang...@bell.net

2019-03-17  John David Anglin  <dang...@gcc.gnu.org>

        * gcc.dg/pr88074.c: Require c99_runtime.
        * gcc.dg/warn-abs-1.c: Likewise.
        * gfortran.dg/ISO_Fortran_binding_1.f90: Likewise.

Index: gcc.dg/pr88074.c
===================================================================
--- gcc.dg/pr88074.c    (revision 269717)
+++ gcc.dg/pr88074.c    (working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target c99_runtime } } */
 /* { dg-options "-O" } */

 #include <complex.h>
Index: gcc.dg/warn-abs-1.c
===================================================================
--- gcc.dg/warn-abs-1.c (revision 269717)
+++ gcc.dg/warn-abs-1.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target c99_runtime } } */
 /* { dg-options "-Wabsolute-value" } */

 #include <stdlib.h>
Index: gfortran.dg/ISO_Fortran_binding_1.f90
===================================================================
--- gfortran.dg/ISO_Fortran_binding_1.f90       (revision 269717)
+++ gfortran.dg/ISO_Fortran_binding_1.f90       (working copy)
@@ -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.

Reply via email to