diff options
author | Javier Miranda <miranda@adacore.com> | 2023-07-05 17:27:14 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-07-18 15:11:47 +0200 |
commit | e273cf2c1e7fb02eea3b73d8683c6591386587b4 (patch) | |
tree | 541f9cc7729cebd3e6c56e55dc0e7f32ce2fb4e5 /libgcc | |
parent | 82ed6ed61113f110f474f7a638b7032a105a65f8 (diff) | |
download | gcc-e273cf2c1e7fb02eea3b73d8683c6591386587b4.zip gcc-e273cf2c1e7fb02eea3b73d8683c6591386587b4.tar.gz gcc-e273cf2c1e7fb02eea3b73d8683c6591386587b4.tar.bz2 |
ada: Constraint_Error caused by interface conversion
When the sources have a type conversion from an interface type
T2 to some ancestor interface type T1 (that is, T2 extends T1)
the tag check added by the compiler may fail at runtime.
gcc/ada/
* exp_disp.adb (Has_Dispatching_Constructor_Call): Removed.
(Expand_Interface_Conversion): Reverse patch.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions