diff options
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -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++]; |