This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Switching to C++ by default in 4.8


On 10/04/2012 17:41, PaweÅ Sikora wrote:
> On Tuesday 10 of April 2012 10:46:14 Jakub Jelinek wrote:
>> On Mon, Apr 09, 2012 at 04:34:32PM -0700, Xinliang David Li wrote:
>>> Class hierarchy is one such feature that is useful. Assuming we have 
>>> two hierarchies for gcc: one for values rooted at ValExp, and one for 
>>> gimple stmts rooted at GimpInst.
>>> 
>>> 1) For IR browsing, *) all the macro accessors can be eliminated -- a
>>> big plus for debugging;
>> Not that clear, if all the macros are replaced by tons of inline
>> functions, the debugging experience can be actually significantly worse.
> 
> debugabilty can be improved with set of gdb python pretty printers which
> could present gcc's structures in human readable form (instead of union
> mix).
> 

  Would that be much different from "call debug_tree(x)" which we already have?

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]