diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-11-30 10:51:13 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-01-05 11:32:34 +0000 |
commit | a714d2b000ad7798fd1f7b1f73c0295228ec58bd (patch) | |
tree | 5ad65e9770254cb4359b4735eaca7ef6f7e58a15 /gcc/ada/sem_ch3.adb | |
parent | 0f93c574cb78938c7e43b8dc8705ca072f436ab9 (diff) | |
download | gcc-a714d2b000ad7798fd1f7b1f73c0295228ec58bd.zip gcc-a714d2b000ad7798fd1f7b1f73c0295228ec58bd.tar.gz gcc-a714d2b000ad7798fd1f7b1f73c0295228ec58bd.tar.bz2 |
[Ada] Fix sharing of formal parameters between wrapper spec and body
gcc/ada/
* exp_ch3.adb (Make_Controlling_Function_Wrappers): Create
distinct copies of parameter lists for spec and body with
Copy_Parameter_List; cleanup.
(Make_Null_Procedure_Specs): Fix style in comments; remove a
potentially unnecessary initialization of a local variable.
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
0 files changed, 0 insertions, 0 deletions