[PATCH] Improve comments on check_v3_target_filesystem_ts

Jonathan Wakely jwakely@redhat.com
Tue Aug 2 19:35:00 GMT 2016


	* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Improve
	comments.

Tested powerpc64-linux, committed to trunk. I'll backport this to the
bgcc-5 and gcc-6 branches too.


-------------- next part --------------
commit 7a49164cf103621d270b43f60e3f7695464e443c
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Aug 2 20:13:58 2016 +0100

    Improve comments on check_v3_target_filesystem_ts
    
    	* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Improve
    	comments.

diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index e2afbe5..2ea8702 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"]


More information about the Libstdc++ mailing list