From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1285) id 16A323857361; Tue, 11 Oct 2022 22:40:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 16A323857361 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665528025; bh=2CaSWLaqVT7PnnZf8SJnqQZiKPHxHB5/71kvp2TwzdM=; h=From:To:Subject:Date:From; b=T23mYd+qEDU0KcwcwzOz75iPVCguWyf+C/XlPpN/mMdqQ0PS5W5HhvDF7KmLgj4db jsUr6KsNJ+d+/3ISj/fej7hA0dHofyUZhPPgSNS2I5KS78I+HMayVutZHaQPhVk3Gi S+gOViEfmGuLXIb+EsCE7NZvEdhN7rXYbcx3VNuA= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Eric Botcazou To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-3239] Enable support for atomic primitives on SPARC/Linux X-Act-Checkin: gcc X-Git-Author: Eric Botcazou X-Git-Refname: refs/heads/master X-Git-Oldrev: 53955284c031a17e6e49e730ef8947fe557ff35e X-Git-Newrev: 2c328e58c5d7cca10dd404ad8f81ec7664db1fbf Message-Id: <20221011224025.16A323857361@sourceware.org> Date: Tue, 11 Oct 2022 22:40:25 +0000 (GMT) List-Id: https://gcc.gnu.org/g:2c328e58c5d7cca10dd404ad8f81ec7664db1fbf commit r13-3239-g2c328e58c5d7cca10dd404ad8f81ec7664db1fbf Author: Eric Botcazou Date: Wed Oct 12 00:38:04 2022 +0200 Enable support for atomic primitives on SPARC/Linux The SPARC/Linux port is very similar to the SPARC/Solaris port nowadays so it makes sense to copy the setting of the support for atomic primitives. This fixes the single regression in the gnat.dg testsuite: FAIL: gnat.dg/prot7.adb (test for excess errors) gcc/ada/ * libgnat/system-linux-sparc.ads (Support_Atomic_Primitives): New constant set to True. Diff: --- gcc/ada/libgnat/system-linux-sparc.ads | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/ada/libgnat/system-linux-sparc.ads b/gcc/ada/libgnat/system-linux-sparc.ads index cc502da3e5b..6d4ee380b2d 100644 --- a/gcc/ada/libgnat/system-linux-sparc.ads +++ b/gcc/ada/libgnat/system-linux-sparc.ads @@ -133,6 +133,7 @@ private Stack_Check_Probes : constant Boolean := True; Stack_Check_Limits : constant Boolean := False; Support_Aggregates : constant Boolean := True; + Support_Atomic_Primitives : constant Boolean := True; Support_Composite_Assign : constant Boolean := True; Support_Composite_Compare : constant Boolean := True; Support_Long_Shifts : constant Boolean := True;