Re: [C++ PATCH] Renames/adjustments of 1z to 17

2017-09-15 Thread Sandra Loosemore
On 09/15/2017 11:07 AM, Nathan Sidwell wrote: On 09/14/2017 04:26 PM, Jakub Jelinek wrote: There is one 1z spot in gcc/doc/standards.texi, but that whole paragraph looks wrong, can somebody please rewrite it to match the reality? This patch addresses that paragraph. I've rewritten it using t

Re: [C++ PATCH] Renames/adjustments of 1z to 17

2017-09-15 Thread Nathan Sidwell
On 09/14/2017 04:26 PM, Jakub Jelinek wrote: There is one 1z spot in gcc/doc/standards.texi, but that whole paragraph looks wrong, can somebody please rewrite it to match the reality? This patch addresses that paragraph. I've rewritten it using the c++11 and C++14 examples and removed any re

Re: [C++ PATCH] Renames/adjustments of 1z to 17

2017-09-15 Thread Nathan Sidwell
On 09/14/2017 04:26 PM, Jakub Jelinek wrote: Hi! Given https://herbsutter.com/2017/09/06/c17-is-formally-approved/ this patch makes -std=c++17 and -std=gnu++17 the documented options and -std=c++1z and -std=gnu++1z deprecated aliases, adjusts diagnostics etc. Bootstrapped/regtest on x86_64-linu

Re: [C++ PATCH] Renames/adjustments of 1z to 17

2017-09-14 Thread Jakub Jelinek
On Thu, Sep 14, 2017 at 10:32:12PM +0100, Pedro Alves wrote: > On 09/14/2017 09:26 PM, Jakub Jelinek wrote: > > +@item c++17 > > +@itemx c++1z > > +The 2017 ISO C++ standard plus amendments. > > +The name @samp{c++1z} is deprecated. > > + > > +@item gnu++17 > > +@itemx gnu++1z > > +GNU dialect of @

Re: [C++ PATCH] Renames/adjustments of 1z to 17

2017-09-14 Thread Pedro Alves
On 09/14/2017 09:26 PM, Jakub Jelinek wrote: > +@item c++17 > +@itemx c++1z > +The 2017 ISO C++ standard plus amendments. > +The name @samp{c++1z} is deprecated. > + > +@item gnu++17 > +@itemx gnu++1z > +GNU dialect of @option{-std=c++17}. > +The name @samp{gnu++17} is deprecated. > @end table I

Re: [C++ PATCH] Renames/adjustments of 1z to 17

2017-09-14 Thread Jakub Jelinek
On Thu, Sep 14, 2017 at 02:24:01PM -0700, Mike Stump wrote: > > --- gcc/doc/invoke.texi.jj 2017-09-12 21:57:57.0 +0200 > > +++ gcc/doc/invoke.texi 2017-09-14 19:32:34.342959968 +0200 > > @@ -1870,15 +1870,15 @@ GNU dialect of @option{-std=c++14}. > > This is the default for C++ code. >

Re: [C++ PATCH] Renames/adjustments of 1z to 17

2017-09-14 Thread Mike Stump
On Sep 14, 2017, at 1:26 PM, Jakub Jelinek wrote: > > Given https://herbsutter.com/2017/09/06/c17-is-formally-approved/ > this patch makes -std=c++17 and -std=gnu++17 the documented options > --- gcc/doc/invoke.texi.jj2017-09-12 21:57:57.0 +0200 > +++ gcc/doc/invoke.texi 2017-0