diff options
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index 25b3fb71263..3bff09a5bf6 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -829,24 +829,23 @@ static const struct compiler default_compilers[] = {"@c", /* cc1 has an integrated ISO C preprocessor. We should invoke the external preprocessor if -save-temps is given. */ - "%{E|M|MM:%(trad_capable_cpp) %{ansi:-std=c89} %(cpp_options)\ - %(cpp_debug_options)}\ + "%{E|M|MM:%(trad_capable_cpp) %(cpp_options) %(cpp_debug_options)}\ %{!E:%{!M:%{!MM:\ %{traditional|ftraditional:\ %eGNU C no longer supports -traditional without -E}\ %{save-temps|traditional-cpp:%(trad_capable_cpp) \ - %{ansi:-std=c89} %(cpp_options) %b.i \n\ + %(cpp_options) %b.i \n\ cc1 -fpreprocessed %b.i %(cc1_options)}\ %{!save-temps:%{!traditional-cpp:\ - cc1 %{ansi:-std=c89} %(cpp_unique_options) %(cc1_options)}}\ + cc1 %(cpp_unique_options) %(cc1_options)}}\ %{!fsyntax-only:%(invoke_as)}}}}", 0}, {"-", "%{!E:%e-E required when input is from standard input}\ - %(trad_capable_cpp) %{ansi:-std=c89} %(cpp_options)", 0}, + %(trad_capable_cpp) %(cpp_options)", 0}, {".h", "@c-header", 0}, {"@c-header", "%{!E:%ecompilation of header file requested} \ - %(trad_capable_cpp) %{ansi:-std=c89} %(cpp_options) %(cpp_debug_options)", + %(trad_capable_cpp) %(cpp_options) %(cpp_debug_options)", 0}, {".i", "@cpp-output", 0}, {"@cpp-output", |