PR c++/69523 make -Wliteral-suffix control warning
authorJonathan Wakely <redi@gcc.gnu.org>
Sun, 19 Feb 2017 14:13:53 +0000 (14:13 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 19 Feb 2017 14:13:53 +0000 (14:13 +0000)
commit7dfa657b5bae61a458721d079320fb82401ed58b
tree63b66797d444b78821a16bdf2a2bbcb21ad89939
parentff7da2b6cf045cd8a3c12dadb79133b76fe15d11
PR c++/69523 make -Wliteral-suffix control warning

gcc:

PR c++/69523
* doc/invoke.texi (C++ Dialect Options) [-Wliteral-suffix]: Update
description.

gcc/cp:

2017-02-19  Eric Fiselier  <eric@efcs.ca>
    Jonathan Wakely  <jwakely@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-19  Eric Fiselier  <eric@efcs.ca>
    Jonathan Wakely  <jwakely@redhat.com>

PR c++/69523
* g++.dg/cpp0x/Wliteral-suffix2.C: New test.

From-SVN: r245574
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/Wliteral-suffix2.C [new file with mode: 0644]