From 70b6aaed80b78e1b1e72e84d8efc6574ef506299 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 23 Feb 2002 17:10:34 +0000 Subject: [PATCH] * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM. From-SVN: r49997 --- gcc/ChangeLog | 4 ++++ gcc/doc/cpp.texi | 12 ++++++++---- gcc/doc/invoke.texi | 11 ++++++++--- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 627202d5ccc..11ec5227be1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-02-23 Neil Booth + + * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM. + 2002-02-23 Kazu Hirata * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index f22e855d993..1e8fd030c8f 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -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} diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1b91a10f5c0..fbc74f470ef 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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