diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/doc/cpp.texi | 12 | ||||
| -rw-r--r-- | gcc/doc/invoke.texi | 11 |
3 files changed, 20 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 627202d..11ec522 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index f22e855..1e8fd03 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 1b91a10..fbc74f4 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 |
