PATCH: PR testsuite/40481: gcc.dg/plugin/one_time-test-1.c doesn't work on ia64
H.J. Lu
hongjiu.lu@intel.com
Mon Jun 22 14:28:00 GMT 2009
Hi,
one_pass_exec returns garbage. As the result, all kinds of random post
pass cleanups may run. I am checking in this patch as an obvious fix.
H.J.
---
2009-06-22 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/40481
* gcc.dg/plugin/one_time_plugin.c (one_pass_exec): Return 0;
Index: gcc.dg/plugin/one_time_plugin.c
===================================================================
--- gcc.dg/plugin/one_time_plugin.c (revision 148764)
+++ gcc.dg/plugin/one_time_plugin.c (working copy)
@@ -24,6 +24,7 @@ static unsigned int one_pass_exec (void)
printf ("Executed more than once \n");
}
counter++;
+ return 0;
}
struct gimple_opt_pass one_pass =
More information about the Gcc-patches
mailing list