diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2012-03-14 17:08:03 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2012-03-14 17:08:03 +0000 |
commit | 7888f2660ec77865927a6c2e2f48ca357e610d34 (patch) | |
tree | 39b15eece6c1f4effe291a240aa3ff5c07c2fa1a /libstdc++-v3/include/c_global | |
parent | 9fc4233a7f71afb113a75f62cec7f6758b05560e (diff) | |
download | gcc-7888f2660ec77865927a6c2e2f48ca357e610d34.zip gcc-7888f2660ec77865927a6c2e2f48ca357e610d34.tar.gz gcc-7888f2660ec77865927a6c2e2f48ca357e610d34.tar.bz2 |
Remove obsolete Solaris 8 support
libstdc++-v3:
* config/os/solaris/solaris2.8: Rename to ...
* config/os/solaris/solaris2.9: ... this.
* config/abi/post/solaris2.8: Rename to ...
* config/abi/post/solaris2.9: ... this.
* configure.host (os_include_dir): Remove solaris2.8.
Reflect renaming.
(abi_baseline_pair): Remove *-*-solaris2.8.
Reflect renaming.
* configure.ac (GLIBCXX_CHECK_MATH_PROTO): Remove
(GLIBCXX_CHECK_STDLIB_PROTO): Remove.
* acinclude.m4 (GLIBCXX_CHECK_MATH_PROTO): Remove
(GLIBCXX_CHECK_STDLIB_PROTO): Remove.
(GLIBCXX_CHECK_GTHREADS): Remove Solaris 8 handling.
* crossconfig.m4 (GLIBCXX_CROSSCONFIG): Remove *-solaris2.8
handling.
* configure: Regenerate.
* config.h.in: Regenerate.
* config/os/solaris/solaris2.9/os_defines.h
(__CORRECT_ISO_CPP_MATH_H_PROTO): Define.
(__CORRECT_ISO_CPP_STDLIB_H_PROTO): Define.
* include/c_global/cmath: Rename __CORRECT_ISO_CPP_MATH_H_PROTO1
to __CORRECT_ISO_CPP_MATH_H_PROTO.
[!__CORRECT_ISO_CPP_MATH_H_PROTO2]: Remove.
* include/tr1/cmath: Rename __CORRECT_ISO_CPP_MATH_H_PROTO1 to
__CORRECT_ISO_CPP_MATH_H_PROTO.
* doc/xml/manual/configure.xml (Configure, --enable-libstdcxx-threads):
Remove Solaris 8 reference.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
Don't xfail on *-*-solaris2.8.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
Likewise.
* testsuite/ext/enc_filebuf/char/13598.cc: Don't xfail on
*-*-solaris2.8.
libjava:
* configure.ac (THREADLIBS): Remove *-*-solaris2.8 handling.
* configure: Regenerate.
libgcc:
* config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
Solaris 8 handling.
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
Solaris 8 handling.
(sparc_is_sighandler): Likewise.
libcpp:
* lex.c: Remove Solaris 8 reference.
gcc/testsuite:
* g++.dg/warn/miss-format-1.C: Remove *-*-solaris2.8 handling.
* gcc.dg/c99-stdint-6.c: Likewise.
* gcc.dg/lto/20090210_0.c: Likewise.
* gcc.dg/pr28796-2.c: Don't skip on sparc*-sun-solaris2.8.
* gcc.dg/pragma-init-fini.c: Don't skip on i?86-*-solaris2.8.
* gcc.dg/pragma-init-fini-2.c: Likewise.
* gcc.dg/torture/pr47917.c: Remove *-*-solaris2.8 handling.
* gcc.target/i386/pr22076.c: Remove i?86-*-solaris2.8 handling.
* gcc.target/i386/pr22152.c: Likewise.
* gcc.target/i386/vect8-ret.c: Likewise.
* lib/target-supports.exp (add_options_for_tls): Remove Solaris 8
handling.
gcc:
* config.gcc (enable_obsolete): Remove *-*-solaris2.8*.
(*-*-solaris2.[0-8], *-*-solaris2.[0-8].*): Mark unsupported.
(i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*): Remove
Solaris 8 support.
* configure.ac (gcc_cv_ld_hidden): Remove *-*-solaris2.8*.
(ld_tls_support): Remove Solaris 8 references.
(lwp_dir, lwp_spec): Remove support for alternate thread library.
* acinclude.m4 (gcc_cv_initfini_array): Remove *-*-solaris2.*
tests.
* configure: Regenerate.
* config.in: Regenerate.
* config/sol2.h (LINK_SPEC): Remove LIB_THREAD_LDFLAGS_SPEC.
* config/i386/sol2.h: Remove Solaris 8 references.
* doc/install.texi (Specific, i?86-*-solaris2.[89]): Rename to ...
(i?86-*-solaris2.9): ... this.
Remove Solaris 8 references.
(Specific, *-*-solaris2*): Document Solaris 8 removal.
Remove Solaris 8 references.
fixincludes:
* inclhack.def (math_exception): Remove duplicate.
(solaris_cond_init): Remove.
(solaris_sys_va_list): Remove Solaris 8 support.
* fixincl.x: Regenerate.
* tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: Remove.
From-SVN: r185392
Diffstat (limited to 'libstdc++-v3/include/c_global')
-rw-r--r-- | libstdc++-v3/include/c_global/cmath | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/libstdc++-v3/include/c_global/cmath b/libstdc++-v3/include/c_global/cmath index 75d1a02..d488c77 100644 --- a/libstdc++-v3/include/c_global/cmath +++ b/libstdc++-v3/include/c_global/cmath @@ -1,7 +1,7 @@ // -*- C++ -*- C forwarding header. // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, -// 2006, 2007, 2008, 2009, 2010, 2011 +// 2006, 2007, 2008, 2009, 2010, 2011, 2012 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -78,14 +78,13 @@ namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION -#if !defined(__CORRECT_ISO_CPP_MATH_H_PROTO1) \ - && !defined(__CORRECT_ISO_CPP_MATH_H_PROTO2) +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR double abs(double __x) { return __builtin_fabs(__x); } #endif -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float abs(float __x) { return __builtin_fabsf(__x); } @@ -104,7 +103,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::acos; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float acos(float __x) { return __builtin_acosf(__x); } @@ -123,7 +122,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::asin; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float asin(float __x) { return __builtin_asinf(__x); } @@ -142,7 +141,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::atan; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float atan(float __x) { return __builtin_atanf(__x); } @@ -161,7 +160,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::atan2; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float atan2(float __y, float __x) { return __builtin_atan2f(__y, __x); } @@ -182,7 +181,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::ceil; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float ceil(float __x) { return __builtin_ceilf(__x); } @@ -201,7 +200,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::cos; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float cos(float __x) { return __builtin_cosf(__x); } @@ -220,7 +219,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::cosh; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float cosh(float __x) { return __builtin_coshf(__x); } @@ -239,7 +238,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::exp; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float exp(float __x) { return __builtin_expf(__x); } @@ -258,7 +257,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::fabs; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float fabs(float __x) { return __builtin_fabsf(__x); } @@ -277,7 +276,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::floor; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float floor(float __x) { return __builtin_floorf(__x); } @@ -296,7 +295,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::fmod; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float fmod(float __x, float __y) { return __builtin_fmodf(__x, __y); } @@ -317,7 +316,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::frexp; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline float frexp(float __x, int* __exp) { return __builtin_frexpf(__x, __exp); } @@ -336,7 +335,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::ldexp; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float ldexp(float __x, int __exp) { return __builtin_ldexpf(__x, __exp); } @@ -355,7 +354,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::log; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float log(float __x) { return __builtin_logf(__x); } @@ -374,7 +373,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::log10; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float log10(float __x) { return __builtin_log10f(__x); } @@ -393,7 +392,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::modf; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline float modf(float __x, float* __iptr) { return __builtin_modff(__x, __iptr); } @@ -405,7 +404,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::pow; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float pow(float __x, float __y) { return __builtin_powf(__x, __y); } @@ -442,7 +441,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::sin; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float sin(float __x) { return __builtin_sinf(__x); } @@ -461,7 +460,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::sinh; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float sinh(float __x) { return __builtin_sinhf(__x); } @@ -480,7 +479,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::sqrt; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float sqrt(float __x) { return __builtin_sqrtf(__x); } @@ -499,7 +498,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::tan; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float tan(float __x) { return __builtin_tanf(__x); } @@ -518,7 +517,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using ::tanh; -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1 +#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO inline _GLIBCXX_CONSTEXPR float tanh(float __x) { return __builtin_tanhf(__x); } |