cppmacro.c (check_trad_stringification): New function.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 10 Sep 2000 03:41:50 +0000 (03:41 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 10 Sep 2000 03:41:50 +0000 (03:41 +0000)
commite1aa5140912178a5711762be987a0c10aad42e31
tree7c23b23e1e31bfbc438ca968e64e66b8dfefe79b
parentafa1738b588b778082a43c3c933f8a4b412a831d
cppmacro.c (check_trad_stringification): New function.

* cppmacro.c (check_trad_stringification): New function.
(save_expansion): If -Wtraditional, warn about stringification of
macro arguments.

testsuite:
* gcc.dg/cpp/tr-warn6.c: New test.

From-SVN: r36285
gcc/ChangeLog
gcc/cppmacro.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/tr-warn6.c [new file with mode: 0644]