diff mbox

PATCHes to help with C++11 bootstrap

Message ID 554E81E7.3000406@redhat.com
State New
Headers show

Commit Message

Jason Merrill May 9, 2015, 9:53 p.m. UTC
More patches:

The first makes changing the default just a matter of changing two lines 
(in the compiler and testsuite).

The second patch is a minor tidy of c.opt.

Tested x86_64-pc-linux-gnu, applying to trunk.
diff mbox

Patch

commit 286834b6ec25e2b8587cf6481b8d99ab85cb845d
Author: Jason Merrill <jason@redhat.com>
Date:   Sat May 9 00:07:08 2015 -0500

    	* c.opt (std=c++14): Remove Undocumented flag and experimental warning.
    	(std=gnu++0x): Mark as Undocumented.
    	(std=gnu++1y): Add deprecated message.

diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index e244a6d..343a599 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -1591,8 +1591,8 @@  C++ ObjC++ Alias(std=c++14) Undocumented
 Deprecated in favor of -std=c++14
 
 std=c++14
-C++ ObjC++ Undocumented
-Conform to the ISO 2014 C++ standard (experimental and incomplete support)
+C++ ObjC++
+Conform to the ISO 2014 C++ standard
 
 std=c++1z
 C++ ObjC++
@@ -1640,11 +1640,12 @@  C++ ObjC++
 Conform to the ISO 2011 C++ standard with GNU extensions (experimental and incomplete support)
 
 std=gnu++0x
-C++ ObjC++ Alias(std=gnu++11)
+C++ ObjC++ Alias(std=gnu++11) Undocumented
 Deprecated in favor of -std=gnu++11
 
 std=gnu++1y
 C++ ObjC++ Alias(std=gnu++14) Undocumented
+Deprecated in favor of -std=gnu++14
 
 std=gnu++14
 C++ ObjC++