]> gcc.gnu.org Git - gcc.git/commitdiff
[Ada] Add No_Tasking restriction is system.ads for bootstrap
authorArnaud Charlet <charlet@adacore.com>
Fri, 21 May 2021 08:04:55 +0000 (04:04 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 8 Jul 2021 13:34:17 +0000 (13:34 +0000)
gcc/ada/

* gcc-interface/system.ads: Add No_Tasking restriction.

gcc/ada/gcc-interface/system.ads

index a468ae70a75f3ce319f4a75aef2bd6f313152a76..cfd9bb9e871df9040d8581458f7875bad09a38b1 100644 (file)
@@ -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
This page took 0.064813 seconds and 5 git commands to generate.