This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r138784 - /trunk/gcc/ada/sem_ch3.adb
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 06 Aug 2008 09:35:17 -0000
- Subject: r138784 - /trunk/gcc/ada/sem_ch3.adb
Author: charlet
Date: Wed Aug 6 09:35:17 2008
New Revision: 138784
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138784
Log:
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.
Modified:
trunk/gcc/ada/sem_ch3.adb