]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
one_time_plugin.c: Update test to use the cfg pass.
authorMichael Matz <matz@suse.de>
Mon, 12 Oct 2009 16:31:37 +0000 (16:31 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Mon, 12 Oct 2009 16:31:37 +0000 (16:31 +0000)
* gcc.dg/plugin/one_time_plugin.c: Update test to use the cfg
pass.

From-SVN: r152669

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/plugin/one_time_plugin.c

index 11da3e73dd79601fea40e568cef00b04d030253d..0c0360679e613f2eb4f3fb7af9c2d58cbdf27110 100644 (file)
@@ -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
index ee805174aea19e255291c48b1c8e4c3e756334a9..4a6a8a61969fe8ddc63dfa4070fe7592ee2d0ac1 100644 (file)
@@ -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;