aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2016-12-05 11:15:17 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2016-12-05 11:15:17 +0000
commitaad6838ec786662b6ffb28c494564aba29ad1a4e (patch)
tree51c98bb250703c239beb16bd46c95b17077b23f9
parent5ffd5f36962aa5d2984f7453b553ef8076bd2e84 (diff)
downloadgcc-aad6838ec786662b6ffb28c494564aba29ad1a4e.zip
gcc-aad6838ec786662b6ffb28c494564aba29ad1a4e.tar.gz
gcc-aad6838ec786662b6ffb28c494564aba29ad1a4e.tar.bz2
system-darwin-ppc.ads (Support_Atomic_Primitives): Set to True only if the word size is 64.
* system-darwin-ppc.ads (Support_Atomic_Primitives): Set to True only if the word size is 64. From-SVN: r243243
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/system-darwin-ppc.ads2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 3f221d2..1a9f161 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2016-12-05 Eric Botcazou <ebotcazou@adacore.com>
+
+ * system-darwin-ppc.ads (Support_Atomic_Primitives): Set to True only
+ if the word size is 64.
+
2016-11-30 Gary Dismukes <dismukes@adacore.com>
* sem_prag.adb, sem_ch6.adb: Minor reformatting and typo fixes.
diff --git a/gcc/ada/system-darwin-ppc.ads b/gcc/ada/system-darwin-ppc.ads
index b58cfed..7809e14 100644
--- a/gcc/ada/system-darwin-ppc.ads
+++ b/gcc/ada/system-darwin-ppc.ads
@@ -161,7 +161,7 @@ private
Stack_Check_Probes : constant Boolean := False;
Stack_Check_Limits : constant Boolean := False;
Support_Aggregates : constant Boolean := True;
- Support_Atomic_Primitives : constant Boolean := True;
+ Support_Atomic_Primitives : constant Boolean := Word_Size = 64;
Support_Composite_Assign : constant Boolean := True;
Support_Composite_Compare : constant Boolean := True;
Support_Long_Shifts : constant Boolean := True;