diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-02-20 07:24:10 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-02-20 07:24:10 +0000 |
commit | 56cd5b954eb70a938f01a73ccc0ada6cb5fa4a36 (patch) | |
tree | ca6ba18d981566f2ff27d47f76785ea46c4d1f5c /gcc/gcc.c | |
parent | 042cdf7164c636e6d8ea671c2817f59c4914f3db (diff) | |
download | gcc-56cd5b954eb70a938f01a73ccc0ada6cb5fa4a36.zip gcc-56cd5b954eb70a938f01a73ccc0ada6cb5fa4a36.tar.gz gcc-56cd5b954eb70a938f01a73ccc0ada6cb5fa4a36.tar.bz2 |
cppinit.c (init_dependency_output): Take deps output file from -o if none given with -MF.
* cppinit.c (init_dependency_output): Take deps output file
from -o if none given with -MF. Suppress normal output.
* gcc.c (cpp_unique_options): Have -M and -MM imply -E.
* doc/cpp.texi, doc/invoke.texi: Update.
From-SVN: r49892
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -665,7 +665,8 @@ static const char *cpp_unique_options = %{nostdinc*} %{C} %{v} %{I*} %{P} %{$} %I\ %{MD:-M -MF %W{!o: %b.d}%W{o*:%.d%*}}\ %{MMD:-MM -MF %W{!o: %b.d}%W{o*:%.d%*}}\ - %{M} %{MM} %W{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{!E:%{M|MD|MM|MMD:%{o*:-MQ %*}}}\ + %{M} %{MM} %W{MF*} %{MG} %{MP} %{MQ*} %{MT*}\ + %{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}}\ %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3}\ %{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\ %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ @@ -674,7 +675,7 @@ static const char *cpp_unique_options = %{ffreestanding:-D__STDC_HOSTED__=0} %{fno-hosted:-D__STDC_HOSTED__=0}\ %{!ffreestanding:%{!fno-hosted:-D__STDC_HOSTED__=1}} %{remap}\ %{g3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i\ - %{E:%W{o*}}"; + %{E|M|MM:%W{o*}}"; /* This contains cpp options which are common with cc1_options and are passed only when preprocessing only to avoid duplication. */ |