OSDN Git Service

* gcc.dg/plugin/one_time_plugin.c: Update test to use the cfg
authormatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Oct 2009 16:31:37 +0000 (16:31 +0000)
committermatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Oct 2009 16:31:37 +0000 (16:31 +0000)
pass.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152669 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 11da3e7..0c03606 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 ee80517..4a6a8a6 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;