This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Name unnamed passes and change duplicate pass names
> Does this cause dumps to happen even if there is nothing to dump?
Yes, it does.
> Maybe you need to add another field to the struct saying a dump should
> be created.
Or another TODO (since it should print the ";; Function" header in
dump_file, having something like TODO_dump_header in todo_start makes
sort of sense; and set dump_file == NULL if the TODO is not present so
that having TODO_dump_func without TODO_dump_header will crash).