From patchwork Mon Dec 5 11:15:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 86546 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1418808qgi; Mon, 5 Dec 2016 03:16:06 -0800 (PST) X-Received: by 10.99.61.6 with SMTP id k6mr101491289pga.154.1480936566794; Mon, 05 Dec 2016 03:16:06 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id y4si14245606pgo.299.2016.12.05.03.16.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Dec 2016 03:16:06 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-443455-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-443455-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-443455-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=wnN/t/uOEQe99LeE eWB16aRt+Nyz+QUutHG/FkaUXFjRHPPnIx/mil2yQ6U2NO16HTpzsUDBKb4SF3Ef JlSimaQZOD3JU4zegRn8VryHnJbsfu379qOO5YE4Qinua4AarhV6h0GDU+yQxyI1 ocA5pV42bg8J15Y0V552OSWcHNE= 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:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=WN7aOPHufvXbvqbqlcxFlb EeEDg=; b=ckN++uMzGq1xVLYqIWQO81GuNMJ3z7ygo1UQjoHWbAUSDdbhavIfBP ugqT7NSdQ/svuLRVfEpY+P7FgUgi7ZbT9T3zfW8nC4oOL6NX5MMvlRIs52ApThi0 G4KFyDWR/6jzOUdvqdjJwoEvJ3rZMpG5F53RjzwoFS802BlbrZD4M= Received: (qmail 100301 invoked by alias); 5 Dec 2016 11:15:52 -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 100253 invoked by uid 89); 5 Dec 2016 11:15:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1002, 2016-12-05 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Dec 2016 11:15:39 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 7B3D7812D5 for ; Mon, 5 Dec 2016 12:15:37 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KEIb7kw38iyM for ; Mon, 5 Dec 2016 12:15:37 +0100 (CET) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 59445812C9 for ; Mon, 5 Dec 2016 12:15:37 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: [Ada] Do not enable atomic primitives on Power/Darwin 32-bit Date: Mon, 05 Dec 2016 12:15:32 +0100 Message-ID: <3146457.IS6Gcgkf51@polaris> User-Agent: KMail/4.14.10 (Linux/3.16.7-48-desktop; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 Iain Sandoe privately reported that the overhaul of the system files had broken the Ada compiler on Power/Darwin 32-bit. Applied on the mainline. 2016-12-05 Eric Botcazou * system-darwin-ppc.ads (Support_Atomic_Primitives): Set to True only if the word size is 64. -- Eric Botcazou Index: system-darwin-ppc.ads =================================================================== --- system-darwin-ppc.ads (revision 243172) +++ system-darwin-ppc.ads (working copy) @@ -161,7 +161,7 @@ private Stack_Check_Probes : constant Boolean := False; Stack_Check_Limits : constant Boolean := False; Support_Aggregates : constant Boolean := True; - Support_Atomic_Primitives : constant Boolean := True; + Support_Atomic_Primitives : constant Boolean := Word_Size = 64; Support_Composite_Assign : constant Boolean := True; Support_Composite_Compare : constant Boolean := True; Support_Long_Shifts : constant Boolean := True;