diff options
author | Zdenek Dvorak <dvorakz@suse.cz> | 2007-02-14 22:06:11 +0000 |
---|---|---|
committer | Zdenek Dvorak <dvorakz@suse.cz> | 2007-02-14 22:06:11 +0000 |
commit | 70e50f18c8d59e877205a11b8cc9c38ba6467126 (patch) | |
tree | 13af836fddd03813adec8232726a7cc2c2ee4cb2 /gcc/tree-dump.c | |
parent | 6227ee3086133b0220eaf6b154d475d5d688a198 (diff) |
* tree-dump.c (dump_switch_p_1): Require exact match of the option
name.
* gcc.dg/tree-prof/update-tailcall.c: Use -fdump-tree-tailc
instead of -fdump-tree-tailcall.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121967 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-dump.c')
-rw-r--r-- | gcc/tree-dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-dump.c b/gcc/tree-dump.c index 76db084323e..c5a87da343d 100644 --- a/gcc/tree-dump.c +++ b/gcc/tree-dump.c @@ -1004,6 +1004,9 @@ dump_switch_p_1 (const char *arg, struct dump_file_info *dfi, bool doglob) if (!option_value) return 0; + if (*option_value && *option_value != '-') + return 0; + ptr = option_value; flags = 0; |