diff options
author | Javier Miranda <miranda@adacore.com> | 2022-10-06 21:44:43 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-11-04 14:47:27 +0100 |
commit | 5150978dfe1b049f16bed80aad2163c43be039cf (patch) | |
tree | 1d5e98104c6626f98049f06b039c81142bc6fdb3 /gcc/ada/exp_ch2.adb | |
parent | e491cb26ecb52b56dd1f5eef284f8871f870fb5b (diff) | |
download | gcc-5150978dfe1b049f16bed80aad2163c43be039cf.zip gcc-5150978dfe1b049f16bed80aad2163c43be039cf.tar.gz gcc-5150978dfe1b049f16bed80aad2163c43be039cf.tar.bz2 |
ada: Skip dynamic interface conversion under configurable runtime
gcc/ada/
* exp_disp.adb
(Expand_Interface_Conversion): Under configurable runtime, when
the target type is an interface that is an ancestor of the operand
type, skip generating code to displace the pointer to reference
the target dispatch table.
* sem_disp.adb
(Propagate_Tag): Handle class-wide types when checking for the
addition of an implicit interface conversion.
Diffstat (limited to 'gcc/ada/exp_ch2.adb')
0 files changed, 0 insertions, 0 deletions