[patch] Prefetching dump fixes

Andrew Pinski pinskia@physics.uc.edu
Fri Nov 10 01:38:00 GMT 2006


> 
> 
> On Fri, 10 Nov 2006, Zdenek Dvorak wrote:
> >
> > 	* tree-ssa-loop.c (pass_loop_prefetch): Change name to aprefetch.
> > 	* tree-ssa-loop-prefetch.c (dump_mem_ref): Fix target file.
> > 	(tree_ssa_prefetch_arrays): Do not dump for removed loops.
> 
> This is OK for mainline.



> 
> 
> However, what do folks think of the following alternate fix?
> 
> This avoids -fdump-tree-pre from matching -fdump-tree-prefetch by
> requiring that the match terminate either with a '\0' or a '-'
> separator character.  So "-fdump-tree-pre" and "-fdump-tree-pre-all"
> continue to work, but we disallow the contracted "-fdump-tree-preall"
> which I suspect is currently accepted by an oversight?

the accepting of preall is an oversight but we have not make sure
that -fdump-tree-vrp dumps both .vrp1 and vrp2 because that support was added
by Daniel Berlin has been useful for going between 4.1 and 4.2 and other versions
of 4.x.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list