Use -Wtraditional for "would be stringified in traditional C" (PR preprocessor/81794)
commitc8a6be18fc026a9af36db0b7f6797735bb3c7337
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Nov 2017 00:57:29 +0000 (21 00:57 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Nov 2017 00:57:29 +0000 (21 00:57 +0000)
tree89c38d8dcd983f269e08bc431d273c64986a220b
parent145fb49ffe22a765e3886b7d768818d9ebdfe0c5
Use -Wtraditional for "would be stringified in traditional C" (PR preprocessor/81794)

libcpp/ChangeLog:

2017-03-24  Eric Gallager  <egall@gwmail.gwu.edu>

PR preprocessor/81794
* macro.c (check_trad_stringification): Have warning be controlled
by -Wtraditional.

gcc/testsuite/ChangeLog:

2017-09-17  Eric Gallager  <egall@gwmail.gwu.edu>

PR preprocessor/81794
* gcc.dg/pragma-diag-7.c: Update to include check for
stringification.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254981 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pragma-diag-7.c
libcpp/ChangeLog
libcpp/macro.c