aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 61afb74..479d7da 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -1085,7 +1085,7 @@ static const struct option_map option_map[] =
{"--debug", "-g", "oj"},
{"--define-macro", "-D", "aj"},
{"--dependencies", "-M", 0},
- {"--dump", "-d", "a"},
+ {"--dump", "-d", "aj"},
{"--dumpbase", "-dumpbase", "a"},
{"--dumpdir", "-dumpdir", "a"},
{"--encoding", "-fencoding=", "aj"},
@@ -1368,16 +1368,6 @@ translate_options (int *argcp, const char *const **argvp)
if (nskip + i > argc)
nskip = argc - i;
- /* Convert -d with a separate argument to
- -foutput-class-dir= for Java. */
- if (c == 'd' && p[1] == 0 && argv[i + 1] != NULL)
- {
- newv[newindex++] = concat ("-foutput-class-dir=", argv[i + 1],
- NULL);
- nskip = 0;
- i += 2;
- }
-
while (nskip > 0)
{
newv[newindex++] = argv[i++];