diff options
author | Robert Abeles <rabeles@archaelogic.com> | 2003-06-18 05:58:55 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-06-18 05:58:55 +0000 |
commit | f3f735eb70c33e4659e9d101c10492d6ff2aec23 (patch) | |
tree | 3f54ce2377191943369a5c1d59ec499eec18a0bc /gcc/java/lang.c | |
parent | a1af4623ea5217822d3029c131d3f08904d914e1 (diff) | |
download | gcc-f3f735eb70c33e4659e9d101c10492d6ff2aec23.zip gcc-f3f735eb70c33e4659e9d101c10492d6ff2aec23.tar.gz gcc-f3f735eb70c33e4659e9d101c10492d6ff2aec23.tar.bz2 |
re PR debug/4252 (cc1: Invalid option `-fdump-translation-unit')
PR debug/4252
* c-opts.c (c_common_handle_option): Pass -fdump argument suffix
to dump_switch_p().
* tree-dump.c (dump_switch_p): Remove redundant 'dump-' prefix
from static strings in dump_files.
cp:
* optimize.c (dump_function): Form complete flag name by
prefixing 'fdump-' to string returned by dump_flag_name().
java:
* lang.c (java_handle_option): Likewise.
From-SVN: r68137
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r-- | gcc/java/lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 07d5647..e389ddc 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -376,7 +376,7 @@ java_handle_option (size_t scode, const char *arg, int value) break; case OPT_fdump_: - if (!dump_switch_p (option->opt_text + strlen ("f"))) + if (!dump_switch_p (arg)) return 0; break; |