diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-02-09 22:32:19 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-13 08:04:30 +0000 |
commit | 83bacaa9b5d8b652f311633ca9584ea56cd71d86 (patch) | |
tree | afbcec35ce9fd431e99c4e94e616b785dd199f56 /ylwrap | |
parent | cb50998584eda9bbd3377d3dca6a8d264d6c4891 (diff) | |
download | gcc-83bacaa9b5d8b652f311633ca9584ea56cd71d86.zip gcc-83bacaa9b5d8b652f311633ca9584ea56cd71d86.tar.gz gcc-83bacaa9b5d8b652f311633ca9584ea56cd71d86.tar.bz2 |
[Ada] Remove obsolete uses of Unchecked_Conversion from Ada 83
Similar to a recent removal of obsolete uses of Unchecked_Deallocation.
In Ada 83 the Unchecked_Conversion was a top-level unit; since Ada 95 it
is an obsolete renaming of Ada.Unchecked_Conversion. GNAT doesn't warn
yet about uses of these obsolete renamings, but it still seems better to
avoid them.
gcc/ada/
* atree.adb, gen_il-gen.adb, osint.adb, set_targ.adb,
sinput.adb, table.adb, treepr.adb, types.ads: Replace uses of
Unchecked_Conversion in the compiler itself.
* libgnarl/a-reatim.adb, libgnarl/s-osinte__gnu.ads,
libgnarl/s-osinte__kfreebsd-gnu.ads, libgnat/a-coboho.adb,
libgnat/a-stuten.ads, libgnat/s-putima.adb: Likewise in the
runtime.
* doc/gnat_ugn/gnat_and_program_execution.rst: Likewise in
documentation.
* gnat_ugn.texi: Regenerate.
Diffstat (limited to 'ylwrap')
0 files changed, 0 insertions, 0 deletions