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: [incremental] Patch: FYI: fix lowering passes problem


Tom Tromey wrote:
"Paolo" == Paolo Bonzini <bonzini@gnu.org> writes:

+/* We need an initial pass for all_lowering_passes that does nothing
+   but is a place where we can hang TODO_set_props.  */
+static struct tree_opt_pass pass_do_nothing_but_lower =
+{
+  "nothingbutlower",			/* name */

Paolo> You want NULL here.


Could you say why?
This is not documented afaict.

Because you don't need to generate a dump file "foo.c.012t.nothingbutlower". If the pass has a name, the file is created even if there is no TODO flag saying to dump the function.


Paolo


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