summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-10 07:33:25 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-10 07:33:25 +0000
commit069496baaa17d6dfa5a8f95f91187d8306a3ecc0 (patch)
tree8bdf11437c9e6f3c5dce7d6cb18700c82a393ecb /gcc/gcc.c
parentf9e56d2d88b9ac700d9739ad174dbb53929a7df0 (diff)
downloadgcc-069496baaa17d6dfa5a8f95f91187d8306a3ecc0.tar.gz
PR preprocessor/8179
* gcc.c (cpp_options): Add {ansi}, move %{m*} to same location as cc1_options. (default_compilers): Pass debug options when preprocessing stdin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58010 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index df694309d64..4f360c86b69 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -692,7 +692,7 @@ static const char *cpp_unique_options =
options used to set target flags. Those special target flags settings may
in turn cause preprocessor symbols to be defined specially. */
static const char *cpp_options =
-"%(cpp_unique_options) %1 %{std*} %{W*&pedantic*} %{w} %{m*} %{f*}\
+"%(cpp_unique_options) %1 %{m*} %{std*} %{ansi} %{W*&pedantic*} %{w} %{f*}\
%{O*} %{undef}";
/* This contains cpp options which are not passed when the preprocessor
@@ -847,7 +847,7 @@ static const struct compiler default_compilers[] =
%{!fsyntax-only:%(invoke_as)}}}}", 0},
{"-",
"%{!E:%e-E required when input is from standard input}\
- %(trad_capable_cpp) %(cpp_options)", 0},
+ %(trad_capable_cpp) %(cpp_options) %(cpp_debug_options)", 0},
{".h", "@c-header", 0},
{"@c-header",
"%{!E:%ecompilation of header file requested} \