From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15797 invoked by alias); 27 Jun 2009 22:25:33 -0000 Received: (qmail 15769 invoked by uid 22791); 27 Jun 2009 22:25:33 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 27 Jun 2009 22:25:27 +0000 Received: from wpaz29.hot.corp.google.com (wpaz29.hot.corp.google.com [172.24.198.93]) by smtp-out.google.com with ESMTP id n5RMPNQr003363 for ; Sat, 27 Jun 2009 23:25:24 +0100 Received: from wa-out-1112.google.com (wahj5.prod.google.com [10.114.236.5]) by wpaz29.hot.corp.google.com with ESMTP id n5RMPK9U021178 for ; Sat, 27 Jun 2009 15:25:21 -0700 Received: by wa-out-1112.google.com with SMTP id j5so615083wah.21 for ; Sat, 27 Jun 2009 15:25:20 -0700 (PDT) Received: by 10.114.93.1 with SMTP id q1mr8643073wab.209.1246141520398; Sat, 27 Jun 2009 15:25:20 -0700 (PDT) Received: from localhost.localdomain.google.com (adsl-71-133-8-30.dsl.pltn13.pacbell.net [71.133.8.30]) by mx.google.com with ESMTPS id k37sm3145929waf.7.2009.06.27.15.25.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 27 Jun 2009 15:25:19 -0700 (PDT) To: Richard Guenther Cc: Matt , gcc@gcc.gnu.org Subject: Re: Phase 1 of gcc-in-cxx now complete References: <84fc9c000906270248y481a5ab5i674ac61b71cf4f87@mail.gmail.com> From: Ian Lance Taylor Date: Sun, 28 Jun 2009 03:09:00 -0000 In-Reply-To: <84fc9c000906270248y481a5ab5i674ac61b71cf4f87@mail.gmail.com> (Richard Guenther's message of "Sat\, 27 Jun 2009 11\:48\:10 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true 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: 2009-06/txt/msg00646.txt.bz2 Richard Guenther writes: > All that above said - do you expect us to carry both vec.h (for VEC in > GC memory) and std::vector (for VECs in heap memory) (and vec.h > for the alloca trick ...)? Or do you think we should try to make the GTY > machinery C++ aware and annotate the standard library (ick...)? I expect us to write a GC allocator, and use that with std::vector. This will require more hooks into the GC code, but I think it is doable. > IMHO we should at least try without the standard library for a start, > fixing the GTY machinery. If we can't write a GC allocator, then I agree. Ian