Re: [PATCH] Rename callback in ipa-pure-const.c

2013-07-17 Thread David Malcolm
On Thu, 2013-07-18 at 03:34 +0200, Jakub Jelinek wrote: > On Wed, Jul 17, 2013 at 09:32:29PM -0400, David Malcolm wrote: > > * ipa-pure-const.c (generate_summary): Rename to... > > (pure_const_generate_summary): ... this. > > Ok, thanks. Thanks; committed to svn trunk as r

Re: [PATCH] Rename callback in ipa-pure-const.c

2013-07-17 Thread Jakub Jelinek
On Wed, Jul 17, 2013 at 09:32:29PM -0400, David Malcolm wrote: > * ipa-pure-const.c (generate_summary): Rename to... > (pure_const_generate_summary): ... this. Ok, thanks. > diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c > index 9705db1..542d33a 100644 > --- a/gcc/ipa-pure-c

[PATCH] Rename callback in ipa-pure-const.c

2013-07-17 Thread David Malcolm
The following trivial patch renames pass_ipa_pure_const's generate_summary callback to something other than "generate_summary", since this causes trouble in a patch I'm working on that converts passes to C++ classes (the constructor gets confused in the member initializer for generate_summary, and