aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2022-08-22 15:25:28 -0700
committerMarc Poulhiès <poulhies@adacore.com>2022-09-06 09:14:23 +0200
commit5e34c91420ffcacb27e4b0a9a83b97b9ee42a337 (patch)
tree0bbe97ec75433e3592a16f6396d8617e0b4fe2ab /gcc/ada/gcc-interface
parent71747dda9d491b8b28df20eaed84c71ca75f51d0 (diff)
downloadgcc-5e34c91420ffcacb27e4b0a9a83b97b9ee42a337.zip
gcc-5e34c91420ffcacb27e4b0a9a83b97b9ee42a337.tar.gz
gcc-5e34c91420ffcacb27e4b0a9a83b97b9ee42a337.tar.bz2
[Ada] Disable lock free protected implementation if target lacks support
Do not select a lock free implementation if Targparm.Support_Atomic_Primitives is False (which indicates that the target cannot support it). gcc/ada/ * sem_ch9.adb (Allows_Lock_Free_Implementation): Return False if Support_Atomic_Primitives is False.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions