Re: external declaration of dominance debug functions

2011-05-23 Thread Basile Starynkevitch
On Mon, 23 May 2011 22:23:01 +0200 Richard Guenther wrote: [...] > plugin header? what's that? [...] The headers made available to and installed for plugins, thru the PLUGIN_HEADERS variable of the gcc/Makefile.in near line 4572 After installation, plugin developers can access them because the

Re: external declaration of dominance debug functions

2011-05-23 Thread Richard Guenther
On Mon, May 23, 2011 at 10:42 PM, Nathan Froyd wrote: > On 05/23/2011 04:23 PM, Richard Guenther wrote: >>> So I don't buy Richie's argument. Otherwise, someone would propose a >>> patch to remove the hundreds of debug_ declarations in public header >>> files (i.e. those visible to plugins), and i

Re: external declaration of dominance debug functions

2011-05-23 Thread Nathan Froyd
On 05/23/2011 04:23 PM, Richard Guenther wrote: >> So I don't buy Richie's argument. Otherwise, someone would propose a >> patch to remove the hundreds of debug_ declarations in public header >> files (i.e. those visible to plugins), and if he did, I hope such a >> naughty patch won't be accepted.

Re: external declaration of dominance debug functions

2011-05-23 Thread Richard Guenther
On Mon, May 23, 2011 at 8:12 PM, Basile Starynkevitch wrote: > On Mon, 23 May 2011 11:56:32 +0200 > Piervit wrote: > >> Le Mon, 23 May 2011 11:30:34 +0200, >> Richard Guenther a écrit : >> >> > On Mon, May 23, 2011 at 10:33 AM, Piervit wrote: >> > > Hello, >> > > >> > > Here is a two lines patc

Re: external declaration of dominance debug functions

2011-05-23 Thread Basile Starynkevitch
On Mon, 23 May 2011 11:56:32 +0200 Piervit wrote: > Le Mon, 23 May 2011 11:30:34 +0200, > Richard Guenther a écrit : > > > On Mon, May 23, 2011 at 10:33 AM, Piervit wrote: > > > Hello, > > > > > > Here is a two lines patch, allowing to use debug_dominance_info and > > > debug_dominance_tree fu

Re: external declaration of dominance debug functions

2011-05-23 Thread Piervit
Le Mon, 23 May 2011 11:30:34 +0200, Richard Guenther a écrit : > On Mon, May 23, 2011 at 10:33 AM, Piervit wrote: > > Hello, > > > > Here is a two lines patch, allowing to use debug_dominance_info and > > debug_dominance_tree functions outside of gcc/dominance.c. For the > > moment, those functi

Re: external declaration of dominance debug functions

2011-05-23 Thread Richard Guenther
On Mon, May 23, 2011 at 10:33 AM, Piervit wrote: > Hello, > > Here is a two lines patch, allowing to use debug_dominance_info and > debug_dominance_tree functions outside of gcc/dominance.c. For the > moment, those functions are not declared in any gcc/*.h files (as far as > I know after trying a

Re: external declaration of dominance debug functions

2011-05-23 Thread Basile Starynkevitch
On Mon, May 23, 2011 at 10:33:55AM +0200, Piervit wrote: > > Here is a two lines patch, allowing to use debug_dominance_info and > debug_dominance_tree functions outside of gcc/dominance.c. > +extern void debug_dominance_info (enum cdi_direction dir); > +extern void debug_dominance_tree (enum cd

external declaration of dominance debug functions

2011-05-23 Thread Piervit
Hello, Here is a two lines patch, allowing to use debug_dominance_info and debug_dominance_tree functions outside of gcc/dominance.c. For the moment, those functions are not declared in any gcc/*.h files (as far as I know after trying a grep). I have added them as external functions into gcc/basic