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

Nathan Sidwell nathan@acm.org
Fri Sep 15 16:08:00 GMT 2017


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-linux and i686-linux, ok for trunk?
> The changes in gcc/testsuite/ and libstdc++/testsuite appart from
> *.exp files are just sed -i -e 's/1z/17/g' `find . -type f`.

I think the patch is good, modulo the issue Pedro pointed at.

> 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?

Yeah, that's no longer true.  Will fix.

nathan

-- 
Nathan Sidwell



More information about the Gcc-patches mailing list