public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2146] [Ada] Add No_Tasking restriction is system.ads for bootstrap
@ 2021-07-08 13:36 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-07-08 13:36 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:076c1a91574d5abcd32898ec1a1a5975254c32a3

commit r12-2146-g076c1a91574d5abcd32898ec1a1a5975254c32a3
Author: Arnaud Charlet <charlet@adacore.com>
Date:   Fri May 21 04:04:55 2021 -0400

    [Ada] Add No_Tasking restriction is system.ads for bootstrap
    
    gcc/ada/
    
            * gcc-interface/system.ads: Add No_Tasking restriction.

Diff:
---
 gcc/ada/gcc-interface/system.ads | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/ada/gcc-interface/system.ads b/gcc/ada/gcc-interface/system.ads
index a468ae70a75..cfd9bb9e871 100644
--- a/gcc/ada/gcc-interface/system.ads
+++ b/gcc/ada/gcc-interface/system.ads
@@ -50,6 +50,10 @@ pragma Restrictions (No_Finalization);
 --  access type on incomplete type Perm_Tree_Wrapper (which is required for
 --  defining a recursive type).
 
+pragma Restrictions (No_Tasking);
+--  Make it explicit that tasking is not used in the compiler, which also
+--  allows generating simpler and more efficient code.
+
 package System is
    pragma Pure;
    --  Note that we take advantage of the implementation permission to make


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-08 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 13:36 [gcc r12-2146] [Ada] Add No_Tasking restriction is system.ads for bootstrap Pierre-Marie de Rodat

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).