From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19330 invoked by alias); 9 Apr 2012 18:52:12 -0000 Received: (qmail 19320 invoked by uid 22791); 9 Apr 2012 18:52:11 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-gy0-f175.google.com (HELO mail-gy0-f175.google.com) (209.85.160.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Apr 2012 18:51:57 +0000 Received: by ghbz2 with SMTP id z2so2099000ghb.20 for ; Mon, 09 Apr 2012 11:51:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=m27zDVLu9sqEpHkA2NXbLiI/IWJExtp4VLD9Nv6ZNCE=; b=GqqiYrVE4rbD8BfXpv5Me+py6FQZTjrokyLAwUcJWuE6hdFo4sLpUNAwSFGEghX/XD /+J/GjHwDF34QYSV7V2S0v06RtOX0/kPniUQ0A0sMCFfFjYipCuKTS3GcWSBsi4B/Hsg IfUUpvu8CJ+Hmn4nJVteomFduAxUy8TQkDV3IbxHlUBN7oBxAJ1Pqs+o5mIuCGqhUzfI fzU0PVESaCSOj27p1DzU3maOEO2MiRMRZKi0gUW3VbiQEa2FlQdKedtSaIdlHDSkNCI8 14HiF14VMZExoGoO8hsyiLgmvJNLZI90Gg6LO6RDUk/cdvzFyHneR8skVzRrn7MgHLYV Toow== Received: by 10.50.154.167 with SMTP id vp7mr22825igb.55.1333997516740; Mon, 09 Apr 2012 11:51:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.154.167 with SMTP id vp7mr22810igb.55.1333997516546; Mon, 09 Apr 2012 11:51:56 -0700 (PDT) Received: by 10.231.210.134 with HTTP; Mon, 9 Apr 2012 11:51:56 -0700 (PDT) In-Reply-To: <20120409182200.GI6148@sunsite.ms.mff.cuni.cz> References: <4F7C35A3.3080207@codesourcery.com> <20120409182200.GI6148@sunsite.ms.mff.cuni.cz> Date: Mon, 09 Apr 2012 18:52:00 -0000 Message-ID: Subject: Re: Switching to C++ by default in 4.8 From: Lawrence Crowl To: Jakub Jelinek Cc: Richard Guenther , Bernd Schmidt , Gabriel Dos Reis , David Edelsohn , Diego Novillo , gcc Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true X-Gm-Message-State: ALoCoQn0TmAzXIS4jCWR9gABSb84oPAchjJamyJa2coGqbYVYayx9eiZBygmRLfXBlnkXQKsftF7A2YghrIhvfZxaS09nnqSEN03BfjLkiyk9NuOgkIL9VEAuEjxOdAtQMNVTR05yqoq 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/msg00290.txt.bz2 On 4/9/12, Jakub Jelinek wrote: > On Mon, Apr 09, 2012 at 10:55:46AM -0700, Lawrence Crowl wrote: > > A build conversion to C++ is a precondition to any source change > > using C++, though the two could be bundled into one patch. In any > > event, I agree that the conversion needs to provide value. Vectors > > and hash tables are a good early target. > > Hash tables? Ugh, what is wrong with the hash tables we have > right now in GCC? Lots of boiler plate involving casting to void*. Some of that boiler plate makes the optimizer less effective. -- Lawrence Crowl