From 49e7b251ee93b18e852eb2b4e328b1094edd93a4 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Tue, 2 Jul 2002 17:06:03 +0000 Subject: 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 --- gcc/doc/cppopts.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/doc') diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi index 7a2ce50..3f1e98c 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 -- cgit v1.1