From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15080 invoked by alias); 11 Apr 2012 09:27:11 -0000 Received: (qmail 15072 invoked by uid 22791); 11 Apr 2012 09:27:10 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_TM X-Spam-Check-By: sourceware.org Received: from mail-iy0-f175.google.com (HELO mail-iy0-f175.google.com) (209.85.210.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Apr 2012 09:26:57 +0000 Received: by iaag37 with SMTP id g37so1078641iaa.20 for ; Wed, 11 Apr 2012 02:26:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.188.134 with SMTP id ga6mr1360206igc.20.1334136416937; Wed, 11 Apr 2012 02:26:56 -0700 (PDT) Received: by 10.42.228.200 with HTTP; Wed, 11 Apr 2012 02:26:56 -0700 (PDT) In-Reply-To: <4F8488C8.9020402@gmail.com> References: <4F7B356E.9080003@google.com> <20120410084614.GJ6148@sunsite.ms.mff.cuni.cz> <1460162.lVqlioACQ8@localhost> <4F8488C8.9020402@gmail.com> Date: Wed, 11 Apr 2012 09:27:00 -0000 Message-ID: Subject: Re: Switching to C++ by default in 4.8 From: Richard Guenther To: Dave Korn Cc: =?ISO-8859-2?Q?Pawe=B3_Sikora?= , gcc@gcc.gnu.org, Jakub Jelinek , Xinliang David Li , Bernd Schmidt , Gabriel Dos Reis , David Edelsohn , Diego Novillo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2012-04/txt/msg00400.txt.bz2 2012/4/10 Dave Korn : > On 10/04/2012 17:41, Pawe=C5=82 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). >> > > =C2=A0Would that be much different from "call debug_tree(x)" which we alr= eady have? Not really, but it would be easier to customize. I would like to see less debug_* routines in favor of some gdb python code. Heh, maybe we could even use the (non-existant) new plugin introspection API for that! Richard. > =C2=A0 =C2=A0cheers, > =C2=A0 =C2=A0 =C2=A0DaveK >