[Ada] Gnatbind crash during checksum calculation
authorJustin Squirek <squirek@adacore.com>
Tue, 10 May 2022 18:19:10 +0000 (18:19 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 2 Jun 2022 09:06:37 +0000 (09:06 +0000)
commit68eb05a3b6ae3a973c858811dc11c7d54a77a58b
tree7beb93d2ed2896dfa2299c6f013444ae1fe6027e
parent878043af338c3b49f7848f3b73938cfa75a97393
[Ada] Gnatbind crash during checksum calculation

This patch corrects an error in the compiler whereby gnatbind may crash
during calculation of file checksums in certain corner cases due to
uninitialized lookup tables.

gcc/ada/

* gnatbind.adb (Gnatbind): Add initialize call for Uintp
* gnatls.adb (Gnatls): Likewise.
* gprep.adb (Gnatprep): Likewise.
* make.adb (Initialize): Likewise.
gcc/ada/gnatbind.adb
gcc/ada/gnatls.adb
gcc/ada/gprep.adb
gcc/ada/make.adb