aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-06-25 01:26:24 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2010-06-25 01:26:24 +0100
commit418f840c1b52c1ff7884e54b70164490b3025d5c (patch)
tree1a2cce2af4f55485ea38f10878012a988b6a8959 /gcc/gcc.c
parentc504fdd6cad4182e5adba0c5ea94cfc78d11fa0a (diff)
downloadgcc-418f840c1b52c1ff7884e54b70164490b3025d5c.zip
gcc-418f840c1b52c1ff7884e54b70164490b3025d5c.tar.gz
gcc-418f840c1b52c1ff7884e54b70164490b3025d5c.tar.bz2
gcc.c (translate_options): Don't mention +e in comment.
* gcc.c (translate_options): Don't mention +e in comment. (process_command): Don't handle +e specially. cp: * lang-specs.h: Remove +e handling. objcp: * lang-specs.h: Remove +e handling. From-SVN: r161355
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 03cfedc..6f846d7 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -1475,7 +1475,7 @@ translate_options (int *argcp, const char *const **argvp)
}
}
else
- /* Ordinary operands, or +e options. */
+ /* Ordinary operands. */
newv[newindex++] = argv[i++];
}
@@ -3895,9 +3895,6 @@ process_command (int argc, const char **argv)
/* Record the part after the last comma. */
add_preprocessor_option (argv[i] + prev, j - prev);
}
- else if (argv[i][0] == '+' && argv[i][1] == 'e')
- /* The +e options to the C++ front-end. */
- n_switches++;
else if (strncmp (argv[i], "-Wl,", 4) == 0)
{
int j;
@@ -4356,19 +4353,6 @@ process_command (int argc, const char **argv)
target_system_root = argv[i] + strlen ("--sysroot=");
target_system_root_changed = 1;
}
- 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-compatibility. 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].live_cond = 0;
- switches[n_switches].validated = 0;
- n_switches++;
- }
else if (strncmp (argv[i], "-Wl,", 4) == 0)
{
int prev, j;