diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2013-05-17 08:39:37 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2013-05-17 08:39:37 +0000 |
commit | 0a91f65deba068300da5c8cc30ef3124f758bfbb (patch) | |
tree | 5e7bf9f23220d2040fcfadb13f809b682d1428b6 /fixincludes/inclhack.def | |
parent | 52d8441318ecc69f8b63e6d2b595034f8245662f (diff) | |
download | gcc-0a91f65deba068300da5c8cc30ef3124f758bfbb.zip gcc-0a91f65deba068300da5c8cc30ef3124f758bfbb.tar.gz gcc-0a91f65deba068300da5c8cc30ef3124f758bfbb.tar.bz2 |
solaris_pow_int_overload should use __cplusplus
* inclhack.def (solaris_pow_int_overload): Update comment.
Change guard to match <cmath>.
* fixincl.x: Regenerate.
* tests/base/iso/math_iso.h [SOLARIS_POW_INT_OVERLOAD_CHECK]:
Matching change.
From-SVN: r199003
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r-- | fixincludes/inclhack.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def index 253df68..d912ccc 100644 --- a/fixincludes/inclhack.def +++ b/fixincludes/inclhack.def @@ -3474,7 +3474,7 @@ fix = { /* - * The pow overloads with int were removed in C++ 2011. + * The pow overloads with int were removed in C++ 2011 DR 550. */ fix = { hackname = solaris_pow_int_overload; @@ -3483,7 +3483,7 @@ fix = { select = "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\)" " *\\{[^{}]*\n[^{}]*\\}"; c_fix = format; - c_fix_arg = "#ifndef __GXX_EXPERIMENTAL_CXX0X__\n%0\n#endif"; + c_fix_arg = "#if __cplusplus < 201103L\n%0\n#endif"; test_text = " inline long double pow(long double __X, int __Y) { return\n" |