[Bug preprocessor/81794] "would be stringified in traditional C" warning should be controlled by -Wtraditional

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 21 00:58:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81794

--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Tue Nov 21 00:57:29 2017
New Revision: 254981

URL: https://gcc.gnu.org/viewcvs?rev=254981&root=gcc&view=rev
Log:
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.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pragma-diag-7.c
    trunk/libcpp/ChangeLog
    trunk/libcpp/macro.c


More information about the Gcc-bugs mailing list