diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-03-11 06:42:21 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-03-11 06:42:21 +0000 |
commit | cb60f38d5b06fd610dbf5216d8751f8db0274edd (patch) | |
tree | 4a61a1ebad36b280444ec7dd62765959ac5bd940 /gcc/cppspec.c | |
parent | 5858cd26b2a70d195dd6cac584a154a6550d8cf0 (diff) | |
download | gcc-cb60f38d5b06fd610dbf5216d8751f8db0274edd.zip gcc-cb60f38d5b06fd610dbf5216d8751f8db0274edd.tar.gz gcc-cb60f38d5b06fd610dbf5216d8751f8db0274edd.tar.bz2 |
Makefile.in: Update.
* Makefile.in: Update.
* c-common.c: Don't include real.h or except.h.
(REGISTER_PREFIX): Remove.
(builtin_define_std, builtin_define_with_value,
builtin_define_with_int_value, builtin_define_with_hex_fp_value,
builtin_define_type_max, builtin_define_type_precision,
builtin_define_float_constants): Move to c-cppbuiltin.c.
(c_stddef_cpp_builtins): New.
* c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
* c-cppbuiltin.c: New, extracted from c-common.c.
(define__GNUC__): New.
* cppspec.c (lang_specific_driver): Remove support of -no-gcc.
* gcc.c: Remove support of %v1, %v2 and %v3 specs.
(cpp_unique_options): Don't support no-gcc.
(do_spec_1): Remove support of version specs.
* doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
* doc/passes.texi: Update.
* doc/tm.texi: Update.
cp:
* Make-lang.in (CXX_C_OBJS): Update.
* lang-specs.h: Don't define __GNUG__ here.
From-SVN: r64162
Diffstat (limited to 'gcc/cppspec.c')
-rw-r--r-- | gcc/cppspec.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/cppspec.c b/gcc/cppspec.c index 1eba17c..db15d7d 100644 --- a/gcc/cppspec.c +++ b/gcc/cppspec.c @@ -65,9 +65,6 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) /* Do we need to insert -E? */ int need_E = 1; - /* Do we need to insert -no-gcc? */ - int need_no_gcc = 1; - /* Have we seen an input file? */ int seen_input = 0; @@ -122,8 +119,6 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) } else if (argv[i][1] == 'x') need_fixups = 0; - else if (argv[i][1] == 'g' && !strcmp(&argv[i][2], "cc")) - need_no_gcc = 0; else if (WORD_SWITCH_TAKES_ARG (&argv[i][1])) quote = 1; } @@ -172,7 +167,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) /* If we don't need to edit the command line, we can bail early. */ - new_argc = argc + need_E + need_no_gcc + read_stdin + new_argc = argc + need_E + read_stdin + !!o_here + !!lang_c_here + !!lang_S_here; if (new_argc == argc) @@ -187,9 +182,6 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) if (need_E) new_argv[j++] = "-E"; - if (need_no_gcc) - new_argv[j++] = "-no-gcc"; - for (i = 1; i < argc; i++, j++) { if (i == lang_c_here) |