From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23951 invoked by alias); 5 Apr 2012 20:17:04 -0000 Received: (qmail 23939 invoked by uid 22791); 5 Apr 2012 20:17:03 -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_CX X-Spam-Check-By: sourceware.org Received: from mail-ob0-f175.google.com (HELO mail-ob0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Apr 2012 20:16:49 +0000 Received: by obbuo13 with SMTP id uo13so2392478obb.20 for ; Thu, 05 Apr 2012 13:16:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.108.74 with SMTP id hi10mr5517785obb.54.1333657008284; Thu, 05 Apr 2012 13:16:48 -0700 (PDT) Received: by 10.182.111.99 with HTTP; Thu, 5 Apr 2012 13:16:48 -0700 (PDT) In-Reply-To: References: <4F7B356E.9080003@google.com> <4F7C2E74.6010501@google.com> Date: Thu, 05 Apr 2012 20:17:00 -0000 Message-ID: Subject: Re: Switching to C++ by default in 4.8 From: David Edelsohn To: Diego Novillo Cc: Richard Guenther , =?ISO-8859-1?Q?Pedro_Lamar=E3o?= , 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: 2012-04/txt/msg00203.txt.bz2 On Thu, Apr 5, 2012 at 10:36 AM, Diego Novillo wrote: > On Thu, Apr 5, 2012 at 10:24, Richard Guenther > wrote: > >> Which means never, because I think it's a prerequesite for switching? > > No. =A0I was not clear. =A0By "done", I meant that GCC builds with C++ in > all the platforms we can test. > > I'm sending a testing plan later today with the list of targets I > think should be tested. =A0I am expecting to do some adjusting patches > to get all the targets working. I tried bootstrapping on AIX using C++. I am able to bootstrap using G++, but not with IBM xlC. xlC is able to compile the GCC source code (with a lot of warning messages), but the build fails when the build passes GCC-specific no exception flags to xlC. NOEXCEPTION_FLAGS =3D -fno-exceptions -fno-rtti xlc -c -fno-exceptions -fno-rtti conftest.c does succeed, but xlc -fno-exceptions -fno-rtti conftest.c fails. I don't think -fno-rtti -fno-exceptions does what GCC expects. Also, I noticed that although GCC is configured with --enable-build-with-cxx , the configure tests use $CC, which might not be accurate. - David