]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove trailing whitespace from dejagnu files
authorJonathan Wakely <jwakely@redhat.com>
Thu, 7 Sep 2023 09:22:00 +0000 (10:22 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 7 Sep 2023 16:05:54 +0000 (17:05 +0100)
Also fix the name of a source file used by an effective target check.

libstdc++-v3/ChangeLog:

* testsuite/config/default.exp: Remove trailing whitespace.
* testsuite/lib/dg-options.exp: Likewise.
* testsuite/lib/prune.exp: Likewise.
* testsuite/libstdc++-abi/abi.exp: Likewise.
* testsuite/libstdc++-dg/conformance.exp: Likewise.
* testsuite/libstdc++-prettyprinters/prettyprinters.exp:
Likewise.
* testsuite/libstdc++-xmethods/xmethods.exp: Likewise.
* testsuite/lib/libstdc++.exp: Likewise.
(check_v3_target_c_std): Fix filename for temporary source file.

libstdc++-v3/testsuite/config/default.exp
libstdc++-v3/testsuite/lib/dg-options.exp
libstdc++-v3/testsuite/lib/libstdc++.exp
libstdc++-v3/testsuite/lib/prune.exp
libstdc++-v3/testsuite/libstdc++-abi/abi.exp
libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp
libstdc++-v3/testsuite/libstdc++-xmethods/xmethods.exp

index 6c5b57bd26f3bff2f28c9b508e2466e8b0a00177..a50f1dfe1ab222652153be26f52f1333570f0e91 100644 (file)
@@ -6,12 +6,12 @@
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
index 15e34f8a64617e1bc9eae7292028d13c3029b8f8..7ee32fbbf7176c071999cc65a2398f38925dc481 100644 (file)
@@ -6,12 +6,12 @@
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
index 9f3e896751ab4ed4075ac95894af6fdf075fd653..271f8772cafa811c932e36580ed63ae6e666077f 100644 (file)
@@ -6,12 +6,12 @@
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
@@ -808,8 +808,8 @@ proc check_v3_target_c_std { } {
        # Set up, compile, and execute a C++ test program that tries to use
        # C99 functionality.
        # For math bits, could use check_effective_target_c99_math.
-       set src fileio[pid].cc
-       set exe fileio[pid].x
+       set src c_std[pid].cc
+       set exe c_std[pid].x
 
        set f [open $src "w"]
        puts $f "#include <tr1/cmath>"
index be6d16c26e5668c902fd37ea6262f7546e6889a6..b4abb93294a32f190f5bb66c2cfd241f50d0a226 100644 (file)
@@ -4,12 +4,12 @@
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
index 6b39c7863d24e726dc2333caccf094ca5ecd572d..e453234e768277a978185b50c65bbf612bd29ddd 100644 (file)
@@ -4,12 +4,12 @@
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
@@ -26,7 +26,7 @@ gcc_parallel_test_enable 0
 
 if { [string match "*-*-darwin*" $target_triplet] } {
     set lib $blddir/src/.libs/libstdc++.dylib
-} else { 
+} else {
     set lib $blddir/src/.libs/libstdc++.so
 }
 
index e8c6504a7f70067ad8a195e967f5a6d8acd19871..32d6f69fe8915c1a6dbaefa1348e1ccd2b3cd621 100644 (file)
@@ -6,12 +6,12 @@
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
@@ -21,6 +21,7 @@
 # Initialization.
 dg-init
 
+
 # Build the support objects.
 v3-build_support
 
@@ -48,7 +49,7 @@ if {[info exists tests_file] && [file exists $tests_file]} {
        if { [string length "$t"] != 0 } {
            lappend tests ${srcdir}/${t}
        }
-    } 
+    }
     close $f
 } else {
     # Find directories that might have tests.
@@ -76,7 +77,7 @@ if {[info exists tests_file] && [file exists $tests_file]} {
 
        # Filter out tests that should not be run.
        foreach t $subdir_tests {
-           # The DejaGNU "find" procedure sometimes returns a list 
+           # The DejaGNU "find" procedure sometimes returns a list
            # containing an empty string, when it should really return
            # an empty list.
            if { $t == "" } {
@@ -87,13 +88,13 @@ if {[info exists tests_file] && [file exists $tests_file]} {
            # 1. interactive tests.
            # 2. performance tests.
            # 3. wchar_t tests, if not supported.
-           # 4. thread tests, if not supported. 
+           # 4. thread tests, if not supported.
            # 5. *_filebuf, if file I/O is not supported.
            # 6. simd tests.
            if { [string first _xin $t] == -1
                 && [string first performance $t] == -1
-                && (${v3-wchar_t} || [string first wchar_t $t] == -1) 
-                && (${v3-threads} || [string first thread $t] == -1)  
+                && (${v3-wchar_t} || [string first wchar_t $t] == -1)
+                && (${v3-threads} || [string first thread $t] == -1)
                 && ([string first "_filebuf" $t] == -1
                     || [check_v3_target_fileio])
                 && [string first "/experimental/simd/" $t] == -1 } {
index 73249865b93b7e2b499ba4bcdd3da87730ab902d..ace3c44ee483ecee159e87d856c4be5323e306bc 100644 (file)
@@ -4,12 +4,12 @@
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
index 59d12a70764b221f1d2f4f06b5363d46a919786a..7344c577567215b03b5d4e030dd6997032e7fc3a 100644 (file)
@@ -4,12 +4,12 @@
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.