From patchwork Tue May 15 22:30:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 159468 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 E62ACB6FBA for ; Wed, 16 May 2012 08:36:15 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1337726177; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:To:Subject:Date:User-Agent:Cc:MIME-Version: Message-Id:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=E2iHlA6ESesajUJBGNbRGTzmfuc=; b=SC5K8Rx6VfbtLSU ACY6kMeLZ3wkuXzSDiBF+1Gm3OaqeIM0WcT3u1AxrXEYnZYPnKdiY5sFi25zfJSd PVdy2yU8WPVg2H1OqAmNj6WGa+qArda2akvUXVnWhzP1ZREUPyiiEn1uUgTnCail J9AIohQnZqI4kXKwxOIzIO68K5Hk= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:From:To:Subject:Date:User-Agent:Cc:MIME-Version:Message-Id:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=MccORqLT11dXpkWTQ6FCxUTvq74gT1Q9nMAunQMoQ4AIhhZt+ZooY/ikk1XpL4 cU12f3p9lLAnHWjbyFcUZRBv/Xo6RJ51FObmwejrJDj5FVlc4RNscj/FVTOAWROH 8gRDyxXbI+5QwcI9nqdm169LMQlhe28d5edekmrdgZJac=; Received: (qmail 16054 invoked by alias); 15 May 2012 22:36:09 -0000 Received: (qmail 16032 invoked by uid 22791); 15 May 2012 22:36:07 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 May 2012 22:35:46 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id C3F0A290058; Wed, 16 May 2012 00:35:50 +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 Mi2ZpMwUYRRs; Wed, 16 May 2012 00:35:50 +0200 (CEST) Received: from [192.168.1.2] (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 82B1A29000D; Wed, 16 May 2012 00:35:50 +0200 (CEST) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: Fix PR ada/52494 Date: Wed, 16 May 2012 00:30:22 +0200 User-Agent: KMail/1.9.9 Cc: andris.pavenis@iki.fi MIME-Version: 1.0 Message-Id: <201205160030.22983.ebotcazou@adacore.com> 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 Andris Pavenis devised this patch to fix the build for targets which use the s-taprop-dummy.adb package. Applied on mainline and 4.7 branch. 2012-05-15 Andris Pavenis PR ada/52494 * s-taprop-dummy.adb (Specific): New package. --- s-taprop-dummy.adb~ 2012-03-04 16:40:49.677874262 +0100 +++ s-taprop-dummy.adb 2012-03-05 21:11:44.270307016 +0100 @@ -46,6 +46,28 @@ pragma Warnings (Off); -- Turn off warnings since so many unreferenced parameters + -------------------- + -- Local Packages -- + -------------------- + + package Specific is + + procedure Set (Self_Id : Task_Id); + pragma Inline (Set); + -- Set the self id for the current task + + end Specific; + + package body Specific is + + procedure Set (Self_Id : Task_Id) is + begin + null; + end Set; + + end Specific; + -- The body of this package is target specific + ---------------------------------- -- ATCB allocation/deallocation -- ----------------------------------