[patch] Require exact match for dump names

Andrew Pinski pinskia@physics.uc.edu
Wed Feb 14 21:41:00 GMT 2007


> 
> 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?
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



More information about the Gcc-patches mailing list