public inbox for
 help / color / mirror / Atom feed
From: Eric Botcazou <>
Subject: [Ada] Enable support for atomic primitives on SPARC/Linux
Date: Wed, 12 Oct 2022 00:42:30 +0200	[thread overview]
Message-ID: <2257020.ElGaqSPkdT@fomalhaut> (raw)

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

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)

Tested on SPARC64/Linux, applied on the mainline.

2022-10-11  Eric Botcazou  <>

	* libgnat/ (Support_Atomic_Primitives): New
	constant set to True.

Eric Botcazou

[-- Attachment #2: p.diff --]
[-- Type: text/x-patch, Size: 656 bytes --]

diff --git a/gcc/ada/libgnat/ b/gcc/ada/libgnat/
index cc502da3e5b..6d4ee380b2d 100644
--- a/gcc/ada/libgnat/
+++ b/gcc/ada/libgnat/
@@ -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;

                 reply	other threads:[~2022-10-11 22:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2257020.ElGaqSPkdT@fomalhaut \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).