Re: [PATCH 08/11] Example of converting global state to per-pass state

2013-08-12 Thread David Malcolm
On Thu, 2013-08-01 at 10:58 -1000, Richard Henderson wrote: [...] > Ok. Thanks; committed to svn trunk as r201681 (having rebootstrap and tested).

Re: [PATCH 08/11] Example of converting global state to per-pass state

2013-08-01 Thread Richard Henderson
On 07/26/2013 05:04 AM, David Malcolm wrote: > gcc/testsuite/ > > Example of converting global state to per-pass state. > > * gcc.dg/plugin/one_time_plugin.c (one_pass::execute): Convert > global state "static int counter" to... > (one_pass::counter): ...this instance data

[PATCH 08/11] Example of converting global state to per-pass state

2013-07-26 Thread David Malcolm
gcc/testsuite/ Example of converting global state to per-pass state. * gcc.dg/plugin/one_time_plugin.c (one_pass::execute): Convert global state "static int counter" to... (one_pass::counter): ...this instance data. --- gcc/testsuite/gcc.dg/plugin/one_time_plugin.