This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Require exact match for dump names
Hello,
> > this is the patch proposed in
> > http://gcc.gnu.org/ml/gcc-patches/2006-11/msg00601.html by Roger,
> > to make us require the exact match for dump names, to avoid
> > problems with getting dumps from passes for that the pass name is a prefix
> > of name of another pass (currently, dce and dceloop).
> >
> > Bootstrapped & regtested on i686.
> >
> > Zdenek
> >
> > * 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.
>
> Does this work with "-fdump-tree-vrp" where you dump both vrp dumps?
yes, it does. This feature is handled in a different way (via the doglob
argument of dump_switch_p_1).
Zdenek
> If not that is the reason why this was changed in the first place so it
> did not require an exact match of the option but instead it would
> enable the matching of both vrp1 and vrp2 passes.
>
> -- Pinski