gcc/fixincludes/tests/base
Rainer Orth 3115f94f7f Don't define libstdc++-internal macros in Solaris 10+ <math.h>
libstdc++-v3:
	* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Update comments.
	(__CORRECT_ISO_CPP11_MATH_H_PROTO): Rename to ...
	(__CORRECT_ISO_CPP11_MATH_H_PROTO_FP): ... this.
	Add test for C++11 <math.h> integral overloads.
	* configure: Regenerate.
	* config.h.in: Regenerate.

	* include/c_global/cmath [__cplusplus >= 201103L]: Reflect
	__CORRECT_ISO_CPP11_MATH_H_PROTO to
	__CORRECT_ISO_CPP11_MATH_H_PROTO_FP rename.
	* include/c_global/cmath [_GLIBCXX_USE_C99_MATH &&
	!_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC && __cplusplus >= 201103L]
	(std::fpclassify): Wrap in !__CORRECT_ISO_CPP11_MATH_H_PROTO_INT.
	(std::isfinite): Likewise.
	(std::isinf): Likewise.
	(std::isnan): Likewise.
	(std::isnormal): Likewise.
	(std::signbit): Likewise.
	(std::isgreater): Likewise.
	(std::isgreaterequal): Likewise.
	(std::isless): Likewise.
	(std::islessequal): Likewise.
	(std::islessgreater): Likewise.
	(std::isunordered): Likewise.
	[__cplusplus >= 201103L && _GLIBCXX_USE_C99_MATH_TR1]
	(std::acosh): Likewise.
	(std::asinh): Likewise.
	(std::atanh): Likewise.
	(std::cbrt): Likewise.
	(std::copysign): Likewise.
	(std::erf): Likewise.
	(std::erfc): Likewise.
	(std::exp2): Likewise.
	(std::expm1): Likewise.
	(std::fdim): Likewise.
	(std::fma): Likewise.
	(std::fmax): Likewise.
	(std::fmin): Likewise.
	(std::hypot): Likewise.
	(std::ilogb): Likewise.
	(std::lgamma): Likewise.
	(std::llrint): Likewise.
	(std::llround): Likewise.
	(std::log1p): Likewise.
	(std::log2): Likewise.
	(std::logb): Likewise.
	(std::lrint): Likewise.
	(std::lround): Likewise.
	(std::nearbyint): Likewise.
	(std::nextafter): Likewise.
	(std::nexttoward): Likewise.
	(std::remainder): Likewise.
	(std::remquo): Likewise.
	(std::rint): Likewise.
	(std::round): Likewise.
	(std::scalbln): Likewise.
	(std::scalbn): Likewise.
	(std::tgamma): Likewise.
	(std::trunc): Likewise.
	* include/tr1/cmath [_GLIBCXX_USE_C99_MATH_TR1 && __cplusplus >=
	201103L]: Reflect __CORRECT_ISO_CPP11_MATH_H_PROTO to
	__CORRECT_ISO_CPP11_MATH_H_PROTO_FP rename.

	fixincludes:
	* inclhack.def (solaris_math_12): New fix.
	(hpux11_fabsf): Replace bypass by *-hp-hpux11* mach selector.
	* fixincl.x: Regenerate.
	* tests/base/math.h [SOLARIS_MATH_12_CHECK]: New test.

From-SVN: r242671
2016-11-21 16:09:47 +00:00
..
X11
Xm sed portability fixes in fixincludes 2009-09-08 17:30:31 +00:00
ansi
arch/i960
architecture/ppc Omit testing wrap and replacement fixes during testing. 2012-10-29 16:44:34 +00:00
bits fenv.h on Ubuntu 2013-12-08 21:55:46 +00:00
bsd
hsfs
i386 re PR bootstrap/72833 (error in fortran/parse.c (unexpected_eof) on Mac OS X 10.7) 2016-08-09 17:58:00 +00:00
ia64/sys
iso Fix <iso/math_c99.h> signbit on Solaris 2015-02-10 10:09:49 +00:00
linux inclhack.def (complier_h_tradcpp): Remove. 2014-08-12 11:05:24 +00:00
mach-o
net inclhack.def (aix_net_if_arp): New fix. 2011-06-06 16:14:57 +00:00
netdnet
netinet
os Fix libsanitizer build on OS X 10.1[01], macOS 10.12 (PR sanitizer/78267) 2016-11-20 10:49:47 +00:00
pixrect
rpc
rpcsvc
rtldef fenv.h on Ubuntu 2013-12-08 21:55:46 +00:00
sparc
sundev
sunwindow
sys inclhack.def (aix_externc): New fix. 2015-05-21 13:25:00 -04:00
types
AvailabilityInternal.h Fix libsanitizer build on OS X 10.1[01], macOS 10.12 (PR sanitizer/78267) 2016-11-20 10:49:47 +00:00
AvailabilityMacros.h
assert.h inclhack.def (aix_assert): New fix. 2013-09-02 19:01:49 -04:00
c_asm.h
com_err.h
complex.h Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
ctrl-quotes-def-1.h
ctype.h inclhack.def (aix_externc): New fix. 2015-05-21 13:25:00 -04:00
curses.h inclhack.def (aix_null): New. 2013-05-04 10:49:59 -04:00
errno.h
fcntl.h inclhack.def (aix_externc): New fix. 2015-05-21 13:25:00 -04:00
features.h
fixinc-test-limits.h
inttypes.h inclhack.def (hpux11_uint32_c): Remove. 2009-04-28 15:17:49 +00:00
io-quotes-def-1.h
ioLib.h Omit testing wrap and replacement fixes during testing. 2012-10-29 16:44:34 +00:00
locale.h
malloc.h inclhack.def (aix_malloc): New. 2012-03-23 19:55:01 -04:00
math.h Don't define libstdc++-internal macros in Solaris 10+ <math.h> 2016-11-21 16:09:47 +00:00
obstack.h
pthread.h Remove obsolete Solaris 9 support 2014-04-22 12:30:59 +00:00
reg_types.h
regex.h
regexp.h
setjmp.h inclhack.def (hpux_longjmp): New fix. 2016-08-13 18:08:15 +00:00
signal.h
spawn.h re PR c++/49347 (G++ rejects Solaris spawn.h use of __restrict) 2011-07-25 15:56:27 +00:00
stdarg.h
stdint-aix.h config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint. 2010-01-26 19:24:32 +00:00
stdint-darwin.h config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint. 2010-01-26 19:24:32 +00:00
stdint-hpux11.h config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint. 2010-01-26 19:24:32 +00:00
stdint-newlib.h config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint. 2010-01-26 19:24:32 +00:00
stdint.h Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
stdio.h re PR target/68741 (FAIL: tr1/8_c_compatibility/cstdio/functions.cc (test for excess errors)) 2016-02-01 00:54:22 +00:00
stdio_tag.h
stdlib.h inclhack.def (aix_stdlib_malloc): New fix. 2016-06-13 14:59:43 -04:00
string.h
strings.h
sym.h
testing.h vxworks fixups 2012-10-28 21:42:48 +00:00
tgmath.h re PR c/456 (constant expressions constraints (gcc.dg/c90-const-expr-1)) 2009-03-29 19:13:43 +01:00
time.h
tinfo.h
unistd.h