diff options
author | Ed Schonberg <schonberg@adacore.com> | 2008-08-06 11:35:17 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2008-08-06 11:35:17 +0200 |
commit | 49d8b8028170af3242cb705fe2fabf46697843c1 (patch) | |
tree | 786dc57f45902b0dbd0b3d295c5241210bb656d9 /gcc/ada/exp_ch11.adb | |
parent | 66aa7643363c7c7b6246649b35f5e6a6b7948c6b (diff) | |
download | gcc-49d8b8028170af3242cb705fe2fabf46697843c1.zip gcc-49d8b8028170af3242cb705fe2fabf46697843c1.tar.gz gcc-49d8b8028170af3242cb705fe2fabf46697843c1.tar.bz2 |
sem_ch3.adb (Access_Subprogram_Declaration): If the return type is incomplete...
2008-08-06 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Access_Subprogram_Declaration): If the return type is
incomplete, add the access_to_subprogram type to the list of private
dependents only if the incomplete type will be completed in the current
scope.
(Build_Discriminant_Constraints): If the type of the discriminant is
access_to_variable, reject a constraint that is access_to_constant.
From-SVN: r138784
Diffstat (limited to 'gcc/ada/exp_ch11.adb')
0 files changed, 0 insertions, 0 deletions