diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-18 05:58:55 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-18 05:58:55 +0000 |
commit | ffbc8512f92220a3a0662e2c45323fa0f2202af2 (patch) | |
tree | 3f54ce2377191943369a5c1d59ec499eec18a0bc /gcc/c-opts.c | |
parent | 22baab859bbcd9fcd86f970e3ef5bbc9dafe90d0 (diff) | |
download | gcc-ffbc8512f92220a3a0662e2c45323fa0f2202af2.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68137 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r-- | gcc/c-opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 9f0cde5e4d6..4d6ccd2932a 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -740,7 +740,7 @@ c_common_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)) result = 0; break; |