diff options
author | Javier Miranda <miranda@adacore.com> | 2023-01-02 14:03:11 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-15 11:36:40 +0200 |
commit | 468a053530fa72b1ed66f78b6faf4d1fed220a17 (patch) | |
tree | 07cb402b3c9142f118901692b42dcf18f7a8bf1d /gcc/tree-iterator.h | |
parent | 983f4eff259317f4c3d0a5a3726bb1c8dcd9a623 (diff) | |
download | gcc-468a053530fa72b1ed66f78b6faf4d1fed220a17.zip gcc-468a053530fa72b1ed66f78b6faf4d1fed220a17.tar.gz gcc-468a053530fa72b1ed66f78b6faf4d1fed220a17.tar.bz2 |
ada: Skip dynamic interface conversion under native runtime
gcc/ada/
* exp_disp.adb
(Has_Dispatching_Constructor_Call): New subprogram.
(Expand_Interface_Conversion): No need to perform dynamic
interface conversion when the operand and the target type are
interface types and the target interface type is an ancestor of
the operand type. The unique exception to this rule is when the
operand has a dispatching constructor call (as documented in the
sources).
Diffstat (limited to 'gcc/tree-iterator.h')
0 files changed, 0 insertions, 0 deletions