OK.
On Fri, Feb 17, 2017 at 7:59 AM, Jonathan Wakely <jwak...@redhat.com> wrote: > Currently there's no way to disable the warning about literal suffix > identifiers that use reserved names. This patch from Eric makes it > depend on the existing -Wliteral-suffix option. Currently that > controls warnings when encountering string literals concatenated with > macros, such as "%"PRIu32, which isn't the same problem, but I think > it's OK to reuse the warning option for this as well. > > Tested powerpc64le-linux. OK for trunk now, or should it wait for > Stage 1? > > > > gcc: > > 2017-02-17 Jonathan Wakely <jwak...@redhat.com> > > PR c++/69523 > * doc/invoke.texi (C++ Dialect Options) [-Wliteral-suffix]: Update > description. > > gcc/cp: > > 2017-02-17 Eric Fiselier <e...@efcs.ca> > Jonathan Wakely <jwak...@redhat.com> > > PR c++/69523 > * parser.c (cp_parser_unqualified_id): Use OPT_Wliteral_suffix to > control warning about literal suffix identifiers without a leading > underscore. > > gcc/testsuite: > > 2017-02-17 Eric Fiselier <e...@efcs.ca> > Jonathan Wakely <jwak...@redhat.com> > > PR c++/69523 > * g++.dg/cpp0x/Wliteral-suffix2.C: New test. > >