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
This commit is contained in:
parent
821bdb2322
commit
ea1b2f550d
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user