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: Adjust the testsuite to reality for FreeBSD and C99 support


On Sun, 12 Jul 2009, Gerald Pfeifer wrote:
> 2009-07-09  Gerald Pfeifer  <gerald@pfeifer.com>
> 
> 	* gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Do not define
> 	for FreeBSD up to and including version 8.

On the 4.3 and 4.4 branches I committed the following variation of the
patch now.  I'll still try to nudge the FreeBSD libc folks to implement
this for FreeBSD 9, but it's hard to predict the future. ;-)

Gerald


2009-08-31  Gerald Pfeifer  <gerald@pfeifer.com>

	* gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Do not define
	for FreeBSD.

Index: gcc.dg/builtins-config.h
===================================================================
--- gcc.dg/builtins-config.h	(revision 151094)
+++ gcc.dg/builtins-config.h	(working copy)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation.
+/* Copyright (C) 2003, 2004, 2005, 2006, 2009 Free Software Foundation.
 
    Define macros useful in tests for bulitin functions.  */
 
@@ -15,8 +15,8 @@
 /* Irix6 doesn't have the entire C99 runtime.  */
 #elif defined(__AVR__)
 /* AVR doesn't have the entire C99 runtime.  */
-#elif defined(__FreeBSD__) && (__FreeBSD__ < 5)
-/* FreeBSD before version 5 doesn't have the entire C99 runtime. */
+#elif defined(__FreeBSD__)
+/* FreeBSD up to at least version 8 lacks support for cexp and friends.  */
 #elif defined(__netware__)
 /* NetWare doesn't have the entire C99 runtime.  */
 #elif defined(__vxworks)


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