[committed] libstdc++: Remove accidental -std=gnu++17 from test

Message ID 20200731170327.GA1291262@redhat.com
State New
Headers show
Series
  • [committed] libstdc++: Remove accidental -std=gnu++17 from test
Related show

Commit Message

Ian Lance Taylor via Gcc-patches July 31, 2020, 5:03 p.m.
This was probably copied from a std::filesystem test and the -std option
wasn't removed.

libstdc++-v3/ChangeLog:

	* testsuite/experimental/filesystem/filesystem_error/cons.cc:
	Remove -std=gnu++17 option.

Tested x86_64-linux, committed to trunk.
commit ed0b4bb29a50d6be0e4b6411b3cc9f22967f1313
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jul 31 18:02:10 2020

    libstdc++: Remove accidental -std=gnu++17 from test
    
    This was probably copied from a std::filesystem test and the -std option
    wasn't removed.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/experimental/filesystem/filesystem_error/cons.cc:
            Remove -std=gnu++17 option.

Patch

diff --git a/libstdc++-v3/testsuite/experimental/filesystem/filesystem_error/cons.cc b/libstdc++-v3/testsuite/experimental/filesystem/filesystem_error/cons.cc
index 19dcc2a19bf..0c7420c1461 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/filesystem_error/cons.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/filesystem_error/cons.cc
@@ -15,7 +15,7 @@ 
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++17 -lstdc++fs" }
+// { dg-options "-lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }