diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-02-01 17:46:17 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-22 10:44:08 +0200 |
commit | f23d4b88f5beffd8430b6b75088775614ed13980 (patch) | |
tree | 61e40052e25428eeca505692237907a5cc5e255c /gcc/ada/sem_util.ads | |
parent | 05e628c249e56ae337f87fc2fd9be4fff16b6282 (diff) | |
download | gcc-f23d4b88f5beffd8430b6b75088775614ed13980.zip gcc-f23d4b88f5beffd8430b6b75088775614ed13980.tar.gz gcc-f23d4b88f5beffd8430b6b75088775614ed13980.tar.bz2 |
ada: Fix crash on Ada.Containers with No_Dispatching_Calls restriction
This makes it so that the compiler does not crash and flags the underlying
violation of the restriction instead.
gcc/ada/
* exp_ch3.adb (Freeze_Type): Do not associate the Finalize_Address
routine for a class-wide type if restriction No_Dispatching_Calls
is in effect.
Diffstat (limited to 'gcc/ada/sem_util.ads')
0 files changed, 0 insertions, 0 deletions