This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rename c1x-*.c to c11-*.c
- From: Mike Stump <mikestump at comcast dot net>
- To: Joseph S. Myers <joseph at codesourcery dot com>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 22 Oct 2013 16:42:49 -0700
- Subject: Re: rename c1x-*.c to c11-*.c
- Authentication-results: sourceware.org; auth=none
- References: <BABE31AA-54CE-4F1B-9F3F-57BA9D8C0D62 at comcast dot net> <Pine dot LNX dot 4 dot 64 dot 1310222127450 dot 13258 at digraph dot polyomino dot org dot uk> <ACC63F78-F85F-47A6-80BD-C5504CDD8D75 at comcast dot net>
On Oct 22, 2013, at 2:29 PM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> There's a whole g++.dg/cpp0x directory of tests, many of them using
> -std=c++0x, for which the same principle would also suggest using the
> non-deprecated option and the name for the actual standard….
I agree. C++11 looks nicer to my eye as well, and easier on the brain as one doesn't have to think about c++03 v c++11… The doc said it was the same as c++11, so, I did that. My fingers really didn't like changing 0x to 11.
This is just ++0x --> ++11 in gcc/testsuite/g++.dg/cpp0x.
Tested on x86_64-apple-darwin12.
Committed revision 203939.
Index: Wliteral-suffix.C
===================================================================
--- Wliteral-suffix.C (revision 203938)
+++ Wliteral-suffix.C (working copy)
@@ -1,5 +1,5 @@
// { dg-do run }
-// { dg-options "-std=c++0x" }
+// { dg-options "-std=c++11" }
// Make sure -Wliteral-suffix is enabled by default and
// triggers as expected.
[ … ] rest omitted for brevity (and to get past the mail filter).