From aad6838ec786662b6ffb28c494564aba29ad1a4e Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 5 Dec 2016 11:15:17 +0000 Subject: [PATCH] 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 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/system-darwin-ppc.ads | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 3f221d24ad5d..1a9f161cb299 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2016-12-05 Eric Botcazou + + * system-darwin-ppc.ads (Support_Atomic_Primitives): Set to True only + if the word size is 64. + 2016-11-30 Gary Dismukes * 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 b58cfed3dff3..7809e14c90b4 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; -- 2.47.2