]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Missing runtime tag check on mutably tagged objects
authorsquirek <squirek@adacore.com>
Tue, 13 Aug 2024 11:35:06 +0000 (11:35 +0000)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 12 Nov 2024 13:00:48 +0000 (14:00 +0100)
commit300557bd6d0145cb0210942d80f866cc3b057695
tree083e27879533e0871214f0ddf4762f9475935d61
parent093894adbdf0638a494257bfe4bc42eb7ad13f6b
ada: Missing runtime tag check on mutably tagged objects

This patch fixes an issue in the compiler whereby assigning to a non-existant
mutably tagged object component failed to result in the expected run-time
exception.

gcc/ada/ChangeLog:

* exp_ch4.adb (Expand_N_Type_Conversion): Add special runtime check
generation for mutably tagged objects.
gcc/ada/exp_ch4.adb