c-pragma.c (handle_pragma_weak): Adjust quoting in a diagnostic.
authorMartin Sebor <msebor@redhat.com>
Wed, 5 Jun 2019 14:24:03 +0000 (14:24 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Wed, 5 Jun 2019 14:24:03 +0000 (08:24 -0600)
commit36b341276f85fc5af74d3019496aea379553f37d
tree498104f729da4bad5ee5f060ccde222b3a253c8c
parentc613138b6ce48448fa7f62dd03513d28919361d6
c-pragma.c (handle_pragma_weak): Adjust quoting in a diagnostic.

gcc/c-family/ChangeLog:

* c-pragma.c (handle_pragma_weak): Adjust quoting in a diagnostic.
* c.opt (-Wformat-diag): Remove a spurious period.

gcc/testsuite/ChangeLog:

* gcc.dg/weak/weak-19.c: New test.

From-SVN: r271965
gcc/c-family/ChangeLog
gcc/c-family/c-pragma.c
gcc/c-family/c.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/weak/weak-19.c [new file with mode: 0644]