This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: gcc/testsuite/gcc.dg/builtins-config.h
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 22 Jun 2004 22:25:10 -0500 (CDT)
- Subject: PATCH: gcc/testsuite/gcc.dg/builtins-config.h
- Reply-to: rittle at labs dot mot dot com
As applied to mainline. Spotted while trying to resolve/understand
remaining i386-unknown-freebsd4 test case failures on the 3.4 branch.
* gcc.dg/builtins-config.h: Handle FreeBSD.
Index: gcc/testsuite/gcc.dg/builtins-config.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/builtins-config.h,v
retrieving revision 1.4
diff -c -r1.4 builtins-config.h
*** gcc/testsuite/gcc.dg/builtins-config.h 4 Mar 2004 02:40:05 -0000 1.4
--- gcc/testsuite/gcc.dg/builtins-config.h 23 Jun 2004 02:21:27 -0000
***************
*** 15,20 ****
--- 15,22 ----
/* Solaris doesn't have the entire C99 runtime. */
#elif defined(__sgi)
/* Irix6 doesn't have the entire C99 runtime. */
+ #elif defined(__FreeBSD__) && (__FreeBSD__ < 5)
+ /* FreeBSD before version 5 doesn't have the entire C99 runtime. */
#else
/* Newlib has the "f" variants of the math functions, but not the "l"
variants. TARGET_C99_FUNCTIONS is only defined if all C99