public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Improve comments on check_v3_target_filesystem_ts
@ 2016-08-02 19:35 Jonathan Wakely
  2016-08-06 10:45 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Wakely @ 2016-08-02 19:35 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

	* 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.



[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1068 bytes --]

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"]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Improve comments on check_v3_target_filesystem_ts
  2016-08-02 19:35 [PATCH] Improve comments on check_v3_target_filesystem_ts Jonathan Wakely
@ 2016-08-06 10:45 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2016-08-06 10:45 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

On 02/08/16 20:35 +0100, Jonathan Wakely wrote:
>	* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Improve
>	comments.

Oops, I've fixed the typo in the new comment.





[-- Attachment #2: patch.txt --]
[-- Type: text/x-patch, Size: 712 bytes --]

commit 5b137ebccbc667dbd868c575d79903ca58cef5e6
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Sat Aug 6 11:44:02 2016 +0100

    	* testsuite/lib/libstdc++.exp: Fix typo in comment.

diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 2ea8702..1780eaf 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -1925,7 +1925,7 @@ proc check_v3_target_little_endian { } {
     return $et_little_endian
 }
 
-# Return 1 if the Filesystem TS is suported, 0 otherwise.
+# Return 1 if the Filesystem TS is supported, 0 otherwise.
 # Cache the result.
 proc check_v3_target_filesystem_ts { } {
     global cxxflags

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-06 10:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-02 19:35 [PATCH] Improve comments on check_v3_target_filesystem_ts Jonathan Wakely
2016-08-06 10:45 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).