[PATCH] Renumber dump files, do not overwrite pass properties, cater for >100 tree dumps

Richard Henderson rth@redhat.com
Thu Jan 26 18:12:00 GMT 2006


On Sun, Jan 22, 2006 at 12:32:13PM +0100, Paolo Bonzini wrote:
> 	* passes.c (register_one_dump_file): Accept the current properties
> 	instead of pass number.  Adjust call to dump_register.  Remove
> 	duplicated code.
> 	(register_dump_files): Now a wrapper around...
> 	(register_dump_files_1): ... this one.  Do not modify the pass
> 	structure.
> 	(next_pass_1): Cosmetic fix.
> 	(execute_todo): Remove last parameter.  Use curr_properties instead
> 	of fetching it from the pass structure.
> 	(execute_one_pass): Handle TODO_set_props.  Use curr_properties instead
>         of fetching it from the pass structure.  Fix calls to execute_todo.
> 	Update curr_properties and initialize .vcg RTL dump after running the
> 	pass.
> 	* tree-dump.c (dump_files): Renumber consecutively.  Put .cgraph dump
> 	at the beginning.
> 	(FIRST_AUTO_NUMBERED_DUMP): New.
> 	(dump_register): Remove "num" parameter, assign it within the function.
> 	(get_dump_file_name): Modify template for dumps.
> 
> 2006-01-22  Paolo Bonzini  <bonzini@gnu.org>
> 
> 	* objc.dg/stubify-2.m: Update dump file name.
> 	* lib/gcc-dg.exp (cleanup-rtl-dump, cleanup-tree-dump,
> 	cleanup-ipa-dump): Update dump file glob patterns.
> 	* lib/scantree.exp (scan-tree-dump, scan-tree-dump-times,
> 	scan-tree-dump-not, scan-tree-dump-dem): Likewise.
> 	* lib/scanipa.exp (scan-ipa-dump, scan-ipa-dump-times,
> 	scan-ipa-dump-not, scan-ipa-dump-dem): Likewise.

Looks generally ok.  Aren't there Makefile changes too, in 
the clean target, perhaps?


r~



More information about the Gcc-patches mailing list