OSDN Git Service

* cppmacro.c (check_trad_stringification): New function.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Sep 2000 03:41:50 +0000 (03:41 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Sep 2000 03:41:50 +0000 (03:41 +0000)
commitbceb91930fa076ea510925e7b2c1dc0f2bf18e95
tree7c23b23e1e31bfbc438ca968e64e66b8dfefe79b
parent2ff1269a5f3b7ac0bbe56c80f37702b3b5442192
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36285 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cppmacro.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/tr-warn6.c [new file with mode: 0644]