[Ada] Update comment on __atomic_compare_exchange in s-atomic_primitives
authorOlivier Hainque <hainque@adacore.com>
Thu, 31 May 2018 10:46:58 +0000 (10:46 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 31 May 2018 10:46:58 +0000 (10:46 +0000)
commitc9f357688263239dee41cef4762f0ad78c1bb442
treef46cf7026acbf95290b94b8b0054d1954f26f7b7
parent1b6f8e9778b58e190f40a1137eaba618c529110f
[Ada] Update comment on __atomic_compare_exchange in s-atomic_primitives

Remove mention of unavailability, long obsolete, and reword suggestion of use
to indicate that we might want to switch to an internal interface using them.
The current wording suggests just that we should bind the current
Sync_Compare_And_Swap Ada subprograms to __atomic_compare builtins instead of
__sync_compare, which would be highly confusing.

2018-05-31  Olivier Hainque  <hainque@adacore.com>

gcc/ada/

* libgnat/s-atopri.ads: Update comment on __atomic_compare_exchange
builtins.

From-SVN: r261008
gcc/ada/ChangeLog
gcc/ada/libgnat/s-atopri.ads