diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2002-07-02 17:06:03 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-07-02 17:06:03 +0000 |
commit | 49e7b251ee93b18e852eb2b4e328b1094edd93a4 (patch) | |
tree | 30d7ec88610653a35c59735f057eb603cb5b5f72 /gcc/doc/cppopts.texi | |
parent | 06728f70cf6b113f52d1bbd3dc32085d01c999c5 (diff) | |
download | gcc-49e7b251ee93b18e852eb2b4e328b1094edd93a4.tar.gz |
cppinit.c (cpp_handle_option): Suppress warnings with an implicit "-w" for "-M" and "-MM".
* cppinit.c (cpp_handle_option): Suppress warnings with an
implicit "-w" for "-M" and "-MM".
doc:
* cppopts.texi: Update.
testsuite:
* gcc.dg/cpp/cmdlne-M.c: New test.
From-SVN: r55185
Diffstat (limited to 'gcc/doc/cppopts.texi')
-rw-r--r-- | gcc/doc/cppopts.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi index 7a2ce50cc3f..3f1e98cd201 100644 --- a/gcc/doc/cppopts.texi +++ b/gcc/doc/cppopts.texi @@ -178,7 +178,8 @@ rules you should explicitly specify the dependency output file with @env{DEPENDENCIES_OUTPUT} (@pxref{Environment Variables}). Debug output will still be sent to the regular output stream as normal. -Passing @option{-M} to the driver implies @option{-E}. +Passing @option{-M} to the driver implies @option{-E}, and suppresses +warnings with an implicit @option{-w}. @item -MM @opindex MM |