diff options
author | Ed Schonberg <schonberg@adacore.com> | 2020-05-14 11:06:54 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-07-07 05:26:58 -0400 |
commit | 9b501e59d1d5c2aa28574fd188db04f7e762f4cd (patch) | |
tree | 001980892153124cfb096cc261f35a5adfa91f17 /libcpp/files.c | |
parent | 7bf53b1a612b1fe08d80d823981879486531ea11 (diff) | |
download | gcc-9b501e59d1d5c2aa28574fd188db04f7e762f4cd.zip gcc-9b501e59d1d5c2aa28574fd188db04f7e762f4cd.tar.gz gcc-9b501e59d1d5c2aa28574fd188db04f7e762f4cd.tar.bz2 |
[Ada] Errors in handling of access_to_subprogram contracts
gcc/ada/
* exp_ch3.adb (Build_Access_Subprogram_Wrapper_Body): Create
proper subprogram specification for body, using names in the
subprogram declaration but distinct entities.
* exp_ch6.adb (Expand_Call): If this is an indirect call
involving a subprogram wrapper, insert pointer parameter in list
of actuals with a parameter association, not as a positional
parameter.
Diffstat (limited to 'libcpp/files.c')
0 files changed, 0 insertions, 0 deletions