summaryrefslogtreecommitdiffstats
path: root/gcc/cppspec.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-11 06:42:21 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-11 06:42:21 +0000
commitfd6f643524415c46c65a5c2368e4d29f3dcf0332 (patch)
tree4a61a1ebad36b280444ec7dd62765959ac5bd940 /gcc/cppspec.c
parent6fd649137756f09d97551d4111229bc75dac802a (diff)
downloadppe42-gcc-fd6f643524415c46c65a5c2368e4d29f3dcf0332.tar.gz
ppe42-gcc-fd6f643524415c46c65a5c2368e4d29f3dcf0332.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64162 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppspec.c')
-rw-r--r--gcc/cppspec.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/cppspec.c b/gcc/cppspec.c
index 1eba17c7719..db15d7dfd37 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)
OpenPOWER on IntegriCloud