This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]