From: Jonathan Wakely Date: Tue, 2 Aug 2016 19:34:30 +0000 (+0100) Subject: Improve comments on check_v3_target_filesystem_ts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bcd00bb13b80443cfc7c95baadff3f90428d6ff;p=gcc.git Improve comments on check_v3_target_filesystem_ts * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Improve comments. From-SVN: r238995 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4bb89fa2a1e..3f80c017925 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-08-02 Jonathan Wakely + * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Improve + comments. + * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Move dg-error to relevant line. * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc: diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index e2afbe541a8..2ea8702a5c5 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -1925,6 +1925,8 @@ proc check_v3_target_little_endian { } { return $et_little_endian } +# Return 1 if the Filesystem TS is suported, 0 otherwise. +# Cache the result. proc check_v3_target_filesystem_ts { } { global cxxflags global DEFAULT_CXXFLAGS @@ -1952,7 +1954,7 @@ proc check_v3_target_filesystem_ts { } { set et_filesystem_ts 0 # Set up and preprocess a C++ test program that depends - # on debug mode activated. + # on the Filesystem TS feature-test macro being defined. set src filesystem_ts[pid].cc set f [open $src "w"]