Re: Symtab, cgraph and varpool nodes are now a real class hierarchy

2013-10-29 Thread Jan Hubicka
> > The conversion of the symtab types from inheritance-in-C to a C++ class > hierarchy is now in trunk: I committed the manual parts of the > conversion as r204170, and the automated part as r204171. I then > noticed that this broke the gdb debugging hooks for printing a > (cgraph_node *). I te

Symtab, cgraph and varpool nodes are now a real class hierarchy

2013-10-29 Thread David Malcolm
On Mon, 2013-10-28 at 23:37 -0600, Jeff Law wrote: > On 10/28/13 20:57, David Malcolm wrote: > >>> * cgraph.h (symtab_node_base): Convert to a class; > >>> add GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"))). > >>> (cgraph_node): Inherit from symtab_node; add GTY option > >>> tag ("SYMTAB_FU