From patchwork Tue Apr 23 08:58:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Dominique_d=27Humi=C3=A8res?= X-Patchwork-Id: 238805 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id D9BDA2C0142 for ; Tue, 23 Apr 2013 18:59:00 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :to:cc:subject:mime-version:content-type :content-transfer-encoding:message-id:from; q=dns; s=default; b= vKQv82ohFVIeMoyantL1YtMWPb70c/KiwIefiHlW/vY9cnMmnNdPsBSySt0WDNMH NRfrsb3AxwI4CQ8btqtlVjKWKonZ1HsAw4tDL2oKKfYqminddrJtZu5E6ROYdAJD /dO3cTt33e2dDerUpCAfruwhxapWKfl/OObs5gDveAY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :to:cc:subject:mime-version:content-type :content-transfer-encoding:message-id:from; s=default; bh=C1lq3y r2EjX24jmm+w2Th60MznQ=; b=JO76wLIBoNFqS1cFmgj8PWVOD6DXMVXWHlHwjo B6hNDE64WGyGqdYLd6ZsJ/8R5KeTc8C62x62HGsfZ5m7Jw/MmC51o6FBfEqT095d +zyC+59iHNaR3ewYaFd6m2syBEhtD5L1r8VJJ9K9mBPeDVKdcoqXKVBm1XbAApM6 o8VyE= Received: (qmail 10314 invoked by alias); 23 Apr 2013 08:58:53 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 10305 invoked by uid 89); 23 Apr 2013 08:58:53 -0000 X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 23 Apr 2013 08:58:52 +0000 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id r3N8wklI040577 ; Tue, 23 Apr 2013 10:58:46 +0200 (CEST) X-Envelope-To: gcc-patches@gcc.gnu.org Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id 524573BE19; Tue, 23 Apr 2013 10:58:46 +0200 (CEST) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 795ijPsHQqnk; Tue, 23 Apr 2013 10:58:46 +0200 (CEST) Received: by mailhost.lps.ens.fr (Postfix, from userid 8513) id 417703BE1A; Tue, 23 Apr 2013 10:58:46 +0200 (CEST) Date: Tue, 23 Apr 2013 10:58:46 +0200 To: gcc-patches@gcc.gnu.org Cc: james.greenhalgh@arm.com Subject: Re: [C++11][4.9] Add missing REDUC_PLUS_EXPR case to potential_constant_expression_1. User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Message-Id: <20130423085846.417703BE1A@mailhost.lps.ens.fr> From: dominiq@lps.ens.fr (Dominique Dhumieres) Revision 198142 breaks bootstrapping with Ada: ... ../../xgcc -B../../ -c -DIN_GCC -g -O2 -W -Wall \ -iquote /opt/gcc/work/gcc \ -iquote . -iquote .. -iquote ../.. -iquote /opt/gcc/work/gcc/ada -iquote /opt/gcc/work/gcc -I/opt/gcc/work/gcc/../include -I/opt/mp/include \ ../rts/targext.c -o targext.o In file included from ../rts/targext.c:45:0: /opt/gcc/work/gcc/coretypes.h:66:1: error: unknown type name 'gimple_stmt_iterator_d' typedef gimple_stmt_iterator_d gimple_stmt_iterator; ... Following the David Malcolm's advice pn IRC, the patch allowed me to bootstrap revision 198157. TIA Dominique --- ../_clean/gcc/coretypes.h 2013-04-22 18:03:40.000000000 +0200 +++ gcc/coretypes.h 2013-04-22 22:44:33.000000000 +0200 @@ -63,7 +63,7 @@ typedef union gimple_statement_d *gimple typedef const union gimple_statement_d *const_gimple; typedef gimple gimple_seq; struct gimple_stmt_iterator_d; -typedef gimple_stmt_iterator_d gimple_stmt_iterator; +typedef struct gimple_stmt_iterator_d gimple_stmt_iterator; union section; typedef union section section; struct gcc_options;