This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR debug/4252
Bob Abeles wrote:-
> Yes, that improves it:
>
> 2003-06-17 Robert Abeles <rabeles@archaelogic.com>
>
> PR debug/4252
> * c-opts.c (c_common_handle_option): Pass -fdump argument suffix
> to dump_switch_p().
> * tree-dump.c (dump_switch_p): Handle -fdump argument suffix.
Sorry, I should have been more clear. The repeating dump- in the
static strings is pointless. You should remove that, and check for
any other callers (I'm sure there are some) and other uses of said
static strings, and confirm that you've bootstrapped the result.
All this skip_leading_substring junk should not be needed.
Thanks,
Neil.