[Ada] Get rid of more references to Universal_Integer in expanded code
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 14 Jan 2020 20:56:28 +0000 (21:56 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 3 Jun 2020 10:01:43 +0000 (06:01 -0400)
commit30c6e576a32bfa132fd57434a80b35b712f05458
treee855d69fd3efa3eeeee3706a687f5170890bdc1d
parentf38efc1361c67077f175f194a34718de85d17a24
[Ada] Get rid of more references to Universal_Integer in expanded code

2020-06-03  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* libgnat/s-atopar.adb (Atomic_Fetch_And_Add): Make use of an
equivalent static expression.
(Atomic_Fetch_And_Subtract): Likewise.
(Is_Lock_Free): Likewise.
* libgnat/s-atopex.adb (Atomic_Exchange): Likewise.
(Atomic_Compare_And_Exchange): Likewise.
(Is_Lock_Free): Likewise.
gcc/ada/libgnat/s-atopar.adb
gcc/ada/libgnat/s-atopex.adb