diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2008-07-18 18:40:53 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2008-07-18 18:40:53 +0000 |
commit | 0d3f1ce4e90900e0aa697975a59a0c68364fef70 (patch) | |
tree | 648c33e2f55261ee1436567f2ef120ce31b7cd6c /libstdc++-v3 | |
parent | 8b11b59f739d3c38efb356e8d1a0a1282ada3657 (diff) | |
download | gcc-0d3f1ce4e90900e0aa697975a59a0c68364fef70.zip gcc-0d3f1ce4e90900e0aa697975a59a0c68364fef70.tar.gz gcc-0d3f1ce4e90900e0aa697975a59a0c68364fef70.tar.bz2 |
libstdc++.exp (check_v3_target_c_std): Avoid unused variable warnings leading to spurious fails of the test.
2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
variable warnings leading to spurious fails of the test.
From-SVN: r137961
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 03bd7b8..377bef9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2008-07-18 Paolo Carlini <paolo.carlini@oracle.com> + + * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused + variable warnings leading to spurious fails of the test. + 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index d8c168d..29258c3 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -687,7 +687,7 @@ proc check_v3_target_c_std { } { puts $f " int i = std::tr1::isnan(f);" puts $f " " puts $f " using std::wctomb;" - puts $f " return 0;" + puts $f " return i;" puts $f "}" close $f |