From: Gerald Pfeifer Date: Wed, 29 Jul 2009 21:44:37 +0000 (+0000) Subject: builtins-config.h (HAVE_C99_RUNTIME): Do not define for FreeBSD up to and including... X-Git-Tag: releases/gcc-4.3.4~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a97f8b988eef82645b105efb1639dfa8e435dd34;p=thirdparty%2Fgcc.git builtins-config.h (HAVE_C99_RUNTIME): Do not define for FreeBSD up to and including version 8. * gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Do not define for FreeBSD up to and including version 8. From-SVN: r150229 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8b518222a528..6760bc905432 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-07-29 Gerald Pfeifer + + * gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Do not define + for FreeBSD up to and including version 8. + 2009-07-25 Uros Bizjak * lib/target-supports.exp (check_effective_target_static): New diff --git a/gcc/testsuite/gcc.dg/builtins-config.h b/gcc/testsuite/gcc.dg/builtins-config.h index a6d280ac509a..4c6a444ed4b1 100644 --- a/gcc/testsuite/gcc.dg/builtins-config.h +++ b/gcc/testsuite/gcc.dg/builtins-config.h @@ -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. */ @@ -13,8 +13,8 @@ /* PA HP-UX 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. */ +#elif defined(__FreeBSD__) && (__FreeBSD__ < 9) +/* FreeBSD up to version 8 lacks support for cexp and friends. */ #elif defined(__netware__) /* NetWare doesn't have the entire C99 runtime. */ #elif defined(__vxworks)