From patchwork Tue Jun 22 10:16:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Charlet X-Patchwork-Id: 56450 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]) by ozlabs.org (Postfix) with SMTP id C41F7B6F11 for ; Tue, 22 Jun 2010 20:16:18 +1000 (EST) Received: (qmail 25487 invoked by alias); 22 Jun 2010 10:16:16 -0000 Received: (qmail 25473 invoked by uid 22791); 22 Jun 2010 10:16:15 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Jun 2010 10:16:06 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id A7ABECB029C; Tue, 22 Jun 2010 12:16:08 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0qn2Z4iZcZTh; Tue, 22 Jun 2010 12:16:08 +0200 (CEST) Received: from saumur.act-europe.fr (saumur.act-europe.fr [10.10.0.183]) by mel.act-europe.fr (Postfix) with ESMTP id 928EFCB027F; Tue, 22 Jun 2010 12:16:08 +0200 (CEST) Received: by saumur.act-europe.fr (Postfix, from userid 525) id 7C759D9B31; Tue, 22 Jun 2010 12:16:07 +0200 (CEST) Date: Tue, 22 Jun 2010 12:16:07 +0200 From: Arnaud Charlet To: gcc-patches@gcc.gnu.org Cc: Vincent Celier Subject: [Ada] gnatbind -R generates files Message-ID: <20100622101607.GA14853@adacore.com> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.9i X-IsSubscribed: yes 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 Using gnatbind switch -R no longer prevents the generation of the binger generated files. Tested on x86_64-pc-linux-gnu, committed on trunk 2010-06-22 Vincent Celier * bindusg.adb (Display): Update line for -R * switch-b.adb (Scan_Binder_Switches): Allow generation of the binder generated files when -R is used. Index: bindusg.adb =================================================================== --- bindusg.adb (revision 161153) +++ bindusg.adb (working copy) @@ -181,7 +181,7 @@ -- Line for -R switch Write_Line - (" -R List sources referenced in closure (implies -c)"); + (" -R List sources referenced in closure"); -- Line for -s switch Index: switch-b.adb =================================================================== --- switch-b.adb (revision 161157) +++ switch-b.adb (working copy) @@ -366,7 +366,6 @@ when 'R' => Ptr := Ptr + 1; - Check_Only := True; List_Closure := True; -- Processing for s switch