libstdc++.exp (check_v3_target_c99_math): Rename to check_v3_target_cmath.

2011-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
	to check_v3_target_cmath.
	* testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
	to dg-require-cmath.
	* testsuite/26_numerics/random/binomial_distribution/
	operators/values.cc: Adjust.

From-SVN: r171184
This commit is contained in:
Paolo Carlini 2011-03-19 19:49:16 +00:00
parent f773c2bd76
commit 67bd9a32cf
4 changed files with 17 additions and 6 deletions

View file

@ -1,7 +1,18 @@
2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
to check_v3_target_cmath.
* testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
to dg-require-cmath.
* testsuite/26_numerics/random/binomial_distribution/
operators/values.cc: Adjust.
2011-03-18 Diego Novillo <dnovillo@google.com>
* mixed-mode-arith_neg.cc: Rename from mixed-mode_neg.cc
* mixed-mode-cmp_neg.cc: Factor out of mixed-mode-arith_neg.cc
* testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
mixed-mode_neg.cc
* testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
mixed-mode-arith_neg.cc
2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>

View file

@ -1,6 +1,6 @@
// { dg-options "-std=gnu++0x" }
// { dg-require-cstdint "" }
// { dg-require-c99_math "" }
// { dg-require-cmath "" }
//
// Copyright (C) 2011 Free Software Foundation, Inc.
//

View file

@ -107,8 +107,8 @@ proc dg-require-cstdint { args } {
return
}
proc dg-require-c99_math { args } {
if { ![ check_v3_target_c99_math ] } {
proc dg-require-cmath { args } {
if { ![ check_v3_target_cmath ] } {
upvar dg-do-what dg-do-what
set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
return

View file

@ -1146,7 +1146,7 @@ proc check_v3_target_cstdint { } {
return $et_cstdint
}
proc check_v3_target_c99_math { } {
proc check_v3_target_cmath { } {
global cxxflags
global DEFAULT_CXXFLAGS
global et_c99_math