This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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).

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]