c-decl.c (c_decode_option): Give deprecation warning for -traditional.
authorJoseph Myers <jsm28@cam.ac.uk>
Sun, 18 Nov 2001 17:16:24 +0000 (17:16 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sun, 18 Nov 2001 17:16:24 +0000 (17:16 +0000)
commitaa99bd097969b1be33198b73898b4f8a3021a837
tree61e4108779bd37a598484824d53cc0b8054e6445
parent6f4fdd10f3563b9b04c4491c6a55608b1d975651
c-decl.c (c_decode_option): Give deprecation warning for -traditional.

* c-decl.c (c_decode_option): Give deprecation warning for
-traditional.
* doc/invoke.texi (-traditional): Note that this option is
deprecated.

testsuite:
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/tr-paste.c,
gcc.dg/cpp/tr-str.c: Use -traditional-cpp instead of -traditional.
* gcc.dg/ext-glob.c: Expect -traditional deprecation warning.

From-SVN: r47147
gcc/ChangeLog
gcc/c-decl.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/assert_trad1.c
gcc/testsuite/gcc.dg/cpp/tr-paste.c
gcc/testsuite/gcc.dg/cpp/tr-str.c
gcc/testsuite/gcc.dg/ext-glob.c