[PATCH] Remove unintended dg-options directive

Jonathan Wakely jwakely@redhat.com
Thu Aug 18 09:57:00 GMT 2016


I don't think I meant for this test to use -std=gnu++0x when I added
it, that probably came from copying 20_util/function/cons/addressof.cc

It certainly works OK with C++98, which is how tr1::function is most
likely to be used.

	* testsuite/tr1/3_function_objects/function/10.cc: Remove unintended
	dg-options directive.

Tested x86_64-linux, committed to trunk.


-------------- next part --------------
commit 24ddeed88b16e02ed33612c11727783aadef3c6a
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Aug 18 10:45:56 2016 +0100

    Remove unintended dg-options directive
    
    	* testsuite/tr1/3_function_objects/function/10.cc: Remove unintended
    	dg-options directive.

diff --git a/libstdc++-v3/testsuite/tr1/3_function_objects/function/10.cc b/libstdc++-v3/testsuite/tr1/3_function_objects/function/10.cc
index b09ca86..2c1edaf 100644
--- a/libstdc++-v3/testsuite/tr1/3_function_objects/function/10.cc
+++ b/libstdc++-v3/testsuite/tr1/3_function_objects/function/10.cc
@@ -15,7 +15,6 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++11" }
 // { dg-do compile }
 
 #include <tr1/functional>


More information about the Libstdc++ mailing list