r138784 - /trunk/gcc/ada/sem_ch3.adb

charlet@gcc.gnu.org charlet@gcc.gnu.org
Wed Aug 6 09:35:00 GMT 2008


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



More information about the Gcc-cvs mailing list