* doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Feb 2002 17:10:34 +0000 (17:10 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Feb 2002 17:10:34 +0000 (17:10 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49997 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/cpp.texi
gcc/doc/invoke.texi

index 627202d..11ec522 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
+
 2002-02-23  Kazu Hirata  <kazu@hxi.com>
 
        * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
index f22e855..1e8fd03 100644 (file)
@@ -3959,10 +3959,14 @@ The rule has no commands.
 Passing @option{-M} to the driver implies @option{-E}.
 
 @item -MM
-Like @option{-M}, but mention only the files included with @code{@w{#include
-"@var{file}"}} or with @option{-include} or @option{-imacros} command line
-options.  System header files included with @code{@w{#include <@var{file}>}}
-are omitted.
+Like @option{-M} but do not mention header files that are found in
+system header directories, nor header files that are included,
+directly or indirectly, from such a header.
+
+This implies that the choice of angle brackets or double quotes in an
+@samp{#include} directive does not in itself determine whether that
+header will appear in @option{-MM} dependency output.  This is a
+slight change in semantics from GCC versions 3.0 and earlier.
 
 @item -MF @var{file}
 @anchor{-MF}
index 1b91a10..fbc74f4 100644 (file)
@@ -4045,9 +4045,14 @@ Passing @option{-M} to the driver implies @option{-E}.
 
 @item -MM
 @opindex MM
-Like @option{-M}, but mention only the files included with @samp{#include
-"@var{file}"}.  System header files included with @samp{#include
-<@var{file}>} are omitted.
+Like @option{-M} but do not mention header files that are found in
+system header directories, nor header files that are included,
+directly or indirectly, from such a header.
+
+This implies that the choice of angle brackets or double quotes in an
+@samp{#include} directive does not in itself determine whether that
+header will appear in @option{-MM} dependency output.  This is a
+slight change in semantics from GCC versions 3.0 and earlier.
 
 @item -MD
 @opindex MD