From cc6fc442d8094d41410ca714e7ff87f822a1b4c0 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Thu, 3 Sep 1992 08:40:32 +0000 Subject: [PATCH] (process_command): Correct for spaz by patch, installing last change. From-SVN: r2045 --- gcc/gcc.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gcc/gcc.c b/gcc/gcc.c index b78990a73f7..57b4a9d0dd7 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -2100,18 +2100,6 @@ process_command (argc, argv) add_prefix (&startfile_prefix, standard_exec_prefix, 0, 1, NULL_PTR); add_prefix (&startfile_prefix, standard_exec_prefix_1, 0, 1, NULL_PTR); - else if (argv[i][0] == '+' && argv[i][1] == 'e') - { - /* Compensate for the +e options to the C++ front-end; - they're there simply for cfront call-compatability. We do - some magic in default_compilers to pass them down properly. - Note we deliberately start at the `+' here, to avoid passing - -e0 or -e1 down into the linker. */ - switches[n_switches].part1 = &argv[i][0]; - switches[n_switches].args = 0; - switches[n_switches].valid = 0; - n_switches++; - } /* More prefixes are enabled in main, after we read the specs file and determine whether this is cross-compilation or not. */ @@ -2141,6 +2129,18 @@ process_command (argc, argv) ; else if (! strcmp (argv[i], "-print-libgcc-file-name")) ; + else if (argv[i][0] == '+' && argv[i][1] == 'e') + { + /* Compensate for the +e options to the C++ front-end; + they're there simply for cfront call-compatability. We do + some magic in default_compilers to pass them down properly. + Note we deliberately start at the `+' here, to avoid passing + -e0 or -e1 down into the linker. */ + switches[n_switches].part1 = &argv[i][0]; + switches[n_switches].args = 0; + switches[n_switches].valid = 0; + n_switches++; + } else if (argv[i][0] == '-' && argv[i][1] != 0 && argv[i][1] != 'l') { register char *p = &argv[i][1]; -- 2.30.2