]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Binder respects Ada version for checksum of runtime files
authorJose Ruiz <ruiz@adacore.com>
Fri, 23 Aug 2024 16:25:13 +0000 (16:25 +0000)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 5 Sep 2024 08:10:12 +0000 (10:10 +0200)
commit47a30d6981db282a4a0e74cf02ff60a3eb0c14cf
tree9715660e1725dcd3a37b3116ec1320f92a93e4b8
parent87023e0c7cd3aadb2ef60aa2592ba34d0ab8a5af
ada: Binder respects Ada version for checksum of runtime files

The parsing to compute the checksums of runtime files (within the
binder) was done using the default Ada version (Ada 2012 currently),
while the creation of the checksum, when the runtime files are
compiled, is performed in a more recent Ada version (Ada 2022
currently). This change forces the checksum computation for runtime
files to be done with the same Ada version as when they were created.

gcc/ada/

* ali-util.adb (Get_File_Checksum): Force the parsing for
the checksum computation of runtime files to be done in
the corresponding recent Ada version.
gcc/ada/ali-util.adb