From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24006 invoked by alias); 4 Apr 2012 11:20:39 -0000 Received: (qmail 23995 invoked by uid 22791); 4 Apr 2012 11:20:38 -0000 X-SWARE-Spam-Status: No, hits=-5.4 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-qc0-f175.google.com (HELO mail-qc0-f175.google.com) (209.85.216.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Apr 2012 11:20:25 +0000 Received: by qcso7 with SMTP id o7so71567qcs.20 for ; Wed, 04 Apr 2012 04:20:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=5mPWMeE6mN2tsCY7R0IVJaDMno0g6Sn5U/1fuw1PRV4=; b=IOCNOAlO88XVPrYzS/wNgGqfuvNlOQwYlkKSGr9f4138f1D7aKTWLFwjt+Tpc86H7f H++j3kybSXly3jfgUisn0acG4tvh7XrcDrW4ZmF5prWDTnci6KjC6r5W83JvMEjrr4qj drGN/bfmkTKsKh4j5DOSiFP2NfE/R2KWB2PnnwLfi4qo2ovF3Sf6tLvcIqWQvNFcDQNB XPH3W5qYQKJ7xycQjW5TlKKdC8eumEE8h2MtO+lM87q1GNh90Em7a2BEDHB986B8i+bf pC5hOTwMF2PhQqO0qOfmg3osgUj1g19DfIwOvbWZeoB0NlhMKZNRruy/1CTok8LTo0qW mx1Q== Received: by 10.224.213.196 with SMTP id gx4mr6909943qab.95.1333538424267; Wed, 04 Apr 2012 04:20:24 -0700 (PDT) Received: by 10.224.213.196 with SMTP id gx4mr6909917qab.95.1333538424114; Wed, 04 Apr 2012 04:20:24 -0700 (PDT) Received: from dnovillo-macbookpro.local ([72.14.228.1]) by mx.google.com with ESMTPS id eg9sm668879qab.19.2012.04.04.04.20.21 (version=SSLv3 cipher=OTHER); Wed, 04 Apr 2012 04:20:22 -0700 (PDT) Message-ID: <4F7C2E74.6010501@google.com> Date: Wed, 04 Apr 2012 11:20:00 -0000 From: Diego Novillo User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Richard Guenther CC: Gabriel Dos Reis , David Edelsohn , gcc Subject: Re: Switching to C++ by default in 4.8 References: <4F7B356E.9080003@google.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnFm7OpKDK3hEyhH7WUoirFd7uLr5i1wmdE5EzCx0ZLV/LcVwMwXBOMLV100+hJSXvFSADSnpfZRuaJ7mw/rf8JgNSj+6qEN/LO8LU/a7fizrxEYTIsHNOyTc23b/GpiIqp4Rg3sLowX7DXvLxQbv03Mm0hPz4Ld4wt5Ef5/9bxqIDCzio= 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/msg00090.txt.bz2 On 4/4/12 5:06 AM, Richard Guenther wrote: > Btw, I think we should only start forcing C++ when 1) there is a > branch/patch out > that shows benefit from using C++. I previously mentioned that I'd like to see > 2) a patch that _properly_ wraps a C++ class for consumption by our garbage > collector (thus, not a hack that works for a specific case but infrastructure > that we think will work for _all_ cases, including libstdc++ container use). My idea was to start with something like converting VEC() which would require dealing with GC. I did not intend to make the conversion and the switch as a single operation, however. Seemed like too much to change in a single patch. > So - I'll veto the switch unless I see 1) and 2). 1) and 2) can be combined > by transitioning vec.h to a C++ template class, with proper GC support. > (not sure that I can veto anything - heh) Well, none of us can, really. Except maybe RMs in the context of release branches. Diego.