diff mbox

Fix PR testsuite/43441 on hppa*-*-hpux*

Message ID 20100618234058.8ED27516B@hiauly1.hia.nrc.ca
State New
Headers show

Commit Message

John David Anglin June 18, 2010, 11:40 p.m. UTC
The following change fixes gcc.dg/pr42427.c on versions of hppa*-*-hpux*
that don't have complex.h.  Tested on hppa2.0w-hp-hpux11.11 and
hppa64-hp-hpux11.11.

Ok?

Dave
diff mbox

Patch

Index: gcc.dg/pr42427.c
===================================================================
--- gcc.dg/pr42427.c	(revision 160946)
+++ gcc.dg/pr42427.c	(working copy)
@@ -2,12 +2,10 @@ 
 /* { dg-options "-O2 -fexceptions -fnon-call-exceptions -fpeel-loops" } */
 /* { dg-require-effective-target ilp32 } */
 
-#include <complex.h>
+extern double myabs (_Complex double);
 
-extern double myabs (complex double);
-
 void
-test (double *help, complex double *wm, long nz)
+test (double *help, _Complex double *wm, long nz)
 {
   long k;
   double znew;