summaryrefslogtreecommitdiff
path: root/gcc/ada/targparm.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/targparm.ads')
-rw-r--r--gcc/ada/targparm.ads8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ada/targparm.ads b/gcc/ada/targparm.ads
index be1c9af0218..e3210c93664 100644
--- a/gcc/ada/targparm.ads
+++ b/gcc/ada/targparm.ads
@@ -408,6 +408,14 @@ package Targparm is
-- are available. If any of these routines is not available, then
-- this flag is False, and the use of aggregates is not permitted.
+ Support_Atomic_Primitives_On_Target : Boolean := False;
+ -- If this flag is True, then the back-end support GCC built-in atomic
+ -- operations for memory model such as atomic load or atomic compare
+ -- exchange (see the GCC manual for more information). If the flag is
+ -- False, then the back-end doesn't provide this support. Note this flag is
+ -- set to True only if the target supports all atomic primitives up to 64
+ -- bits. ??? To be modified.
+
Support_Composite_Assign_On_Target : Boolean := True;
-- The assignment of composite objects other than small records and
-- arrays whose size is 64-bits or less and is set by an explicit