[Ada] Remove use of use-clauses in loaded runtime units
authorYannick Moy <moy@adacore.com>
Thu, 10 Feb 2022 09:31:05 +0000 (10:31 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 12 May 2022 12:38:38 +0000 (12:38 +0000)
commitbbb4320baea245dc5abab35aba7d6225bc9f70fe
treeff6f2d5506578f996900b7a6a4bbc683b0001ef5
parent6655b152ebbf97e66888dc003414f6bb62a7edab
[Ada] Remove use of use-clauses in loaded runtime units

The spec of runtime units that may be loaded by the compiler should not
contain use-clauses, for visibility to be correctly handled.  Remove
use-clauses that were introduced for the ghost big integers unit as part
of the proof of runtime units.

gcc/ada/

* libgnat/s-aridou.ads: Remove use-clause, add renames and
subtypes.
* libgnat/s-exponn.ads: Same.
* libgnat/s-expont.ads: Same.
* libgnat/s-widthu.ads: Same.
gcc/ada/libgnat/s-aridou.ads
gcc/ada/libgnat/s-exponn.ads
gcc/ada/libgnat/s-expont.ads
gcc/ada/libgnat/s-widthu.ads