aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/env.c
diff options
context:
space:
mode:
authorJavier Miranda <miranda@adacore.com>2019-07-10 09:00:16 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-10 09:00:16 +0000
commit5a6446841aa17a717f2f04ec22e507c86c864355 (patch)
treee3c003cef5af854fca79a551e074c3d23ab52dfe /gcc/ada/env.c
parentff3ee5e5ef8c91d94a0ff6236a46dc46a670f1c3 (diff)
downloadgcc-5a6446841aa17a717f2f04ec22e507c86c864355.zip
gcc-5a6446841aa17a717f2f04ec22e507c86c864355.tar.gz
gcc-5a6446841aa17a717f2f04ec22e507c86c864355.tar.bz2
[Ada] Missing implicit interface type conversion
The compiler skips adding an implicit type conversion when the interface type is visible through a limited-with clause. No small reproducer available. 2019-07-10 Javier Miranda <miranda@adacore.com> gcc/ada/ * exp_ch6.adb (Is_Class_Wide_Interface_Type): New subprogram. (Expand_Call_Helper): Handle non-limited views when we check if any formal is a class-wide interface type. * exp_disp.adb (Expand_Interface_Actuals): Handle non-limited views when we look for interface type formals to force "this" displacement. From-SVN: r273328
Diffstat (limited to 'gcc/ada/env.c')
0 files changed, 0 insertions, 0 deletions