Commit ea1b2f55 by Michael Matz Committed by Michael Matz

one_time_plugin.c: Update test to use the cfg pass.

* gcc.dg/plugin/one_time_plugin.c: Update test to use the cfg
pass.

From-SVN: r152669
parent 821bdb23
2009-10-12 Michael Matz <matz@suse.de>
* gcc.dg/plugin/one_time_plugin.c: Update test to use the cfg
pass.
2009-10-12 Jakub Jelinek <jakub@redhat.com>
PR target/41680
......
......@@ -31,7 +31,7 @@ struct gimple_opt_pass one_pass =
{
{
GIMPLE_PASS,
"useless", /* name */
"cfg", /* name */
one_pass_gate, /* gate */
one_pass_exec, /* execute */
NULL, /* sub */
......@@ -53,7 +53,7 @@ int plugin_init (struct plugin_name_args *plugin_info,
struct register_pass_info p;
p.pass = &one_pass.pass;
p.reference_pass_name = "useless";
p.reference_pass_name = "cfg";
p.ref_pass_instance_number = 1;
p.pos_op = PASS_POS_INSERT_AFTER;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment