From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7207 invoked by alias); 27 Jun 2009 13:39:17 -0000 Received: (qmail 7194 invoked by uid 22791); 27 Jun 2009 13:39:14 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from qw-out-1920.google.com (HELO qw-out-1920.google.com) (74.125.92.150) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 27 Jun 2009 13:39:03 +0000 Received: by qw-out-1920.google.com with SMTP id 5so1191339qwc.14 for ; Sat, 27 Jun 2009 06:39:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.94.139 with SMTP id z11mr1263274qcm.6.1246109940404; Sat, 27 Jun 2009 06:39:00 -0700 (PDT) In-Reply-To: <84fc9c000906270248y481a5ab5i674ac61b71cf4f87@mail.gmail.com> References: <84fc9c000906270248y481a5ab5i674ac61b71cf4f87@mail.gmail.com> Date: Sat, 27 Jun 2009 13:41:00 -0000 Message-ID: <4aca3dc20906270639g5161e516kda973e8c683948@mail.gmail.com> Subject: Re: Phase 1 of gcc-in-cxx now complete From: Daniel Berlin To: Richard Guenther Cc: Ian Lance Taylor , Matt , gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 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: 2009-06/txt/msg00638.txt.bz2 > > 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 ...)? =A0Or do you think we should try to make the G= TY > machinery C++ aware and annotate the standard library (ick...)? Since the containers have mostly standard iterators, i'm not sure we have to do much to the standard library. Simply require a set of iterators with the right properties exist and generate code that depends on this. If you make your own container, you have to implement the iterators.