From ea1b2f550d560f911ee70052713b7e5a17d44f33 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Mon, 12 Oct 2009 16:31:37 +0000 Subject: 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/plugin/one_time_plugin.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 11da3e7..0c03606 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-10-12 Michael Matz + + * gcc.dg/plugin/one_time_plugin.c: Update test to use the cfg + pass. + 2009-10-12 Jakub Jelinek PR target/41680 diff --git a/gcc/testsuite/gcc.dg/plugin/one_time_plugin.c b/gcc/testsuite/gcc.dg/plugin/one_time_plugin.c index ee80517..4a6a8a6 100644 --- a/gcc/testsuite/gcc.dg/plugin/one_time_plugin.c +++ b/gcc/testsuite/gcc.dg/plugin/one_time_plugin.c @@ -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; -- cgit v1.1