This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] Fix gcc.dg/builtins-18.c and gcc.dg/builtins-20.c on PA
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: rth at redhat dot com (Richard Henderson)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 Feb 2004 11:22:40 -0500 (EST)
- Subject: Re: [committed] Fix gcc.dg/builtins-18.c and gcc.dg/builtins-20.c on PA
> Please use #elif.
Tested on hppa2.0w-hp-hpux11.00. Installed to 3.4 and 3.5.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2004-02-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/builtins-config.h: Use #elif.
Index: gcc.dg/builtins-config.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/builtins-config.h,v
retrieving revision 1.1.10.1
diff -u -3 -p -r1.1.10.1 builtins-config.h
--- gcc.dg/builtins-config.h 25 Feb 2004 18:44:10 -0000 1.1.10.1
+++ gcc.dg/builtins-config.h 25 Feb 2004 22:22:20 -0000
@@ -11,8 +11,7 @@
#if defined(__hppa) && defined(__hpux)
/* PA HP-UX doesn't have the entire C99 runtime. */
-#else
-#if defined(sun)
+#elif defined(sun)
/* Solaris doesn't have the entire C99 runtime. */
#else
/* Newlib has the "f" variants of the math functions, but not the "l"
@@ -28,6 +27,5 @@
#ifdef _NEWLIB_VERSION
#else
#define HAVE_C99_RUNTIME
-#endif
#endif
#endif