aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts-common.c
diff options
context:
space:
mode:
authorJavier Miranda <miranda@adacore.com>2018-09-26 09:18:29 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-09-26 09:18:29 +0000
commitc886a946134d08a3ae3ad2dacbcee8d6b981db1d (patch)
tree1df089e246aba438b05dd6b9e493cee1197ff250 /gcc/opts-common.c
parent4f95defaa9c9e60f3e07f629bde8189fb6af19cf (diff)
downloadgcc-c886a946134d08a3ae3ad2dacbcee8d6b981db1d.zip
gcc-c886a946134d08a3ae3ad2dacbcee8d6b981db1d.tar.gz
gcc-c886a946134d08a3ae3ad2dacbcee8d6b981db1d.tar.bz2
[Ada] Mimic the C++ ABI when passing class-wide conversion actuals
This patch does not affect the behavior of Ada-only code but improves consistency with the code generated by the C++ compiler. 2018-09-26 Javier Miranda <miranda@adacore.com> gcc/ada/ * sem_res.adb (Resolve_Actuals): If the formal is a class-wide type conversion then do not skip resolving and expanding the conversion; required to displace the pointer to the object and reference the dispatch table associated with the target interface type. From-SVN: r264624
Diffstat (limited to 'gcc/opts-common.c')
0 files changed, 0 insertions, 0 deletions