r135640 - /trunk/gcc/ada/sem_ch4.adb

charlet@gcc.gnu.org charlet@gcc.gnu.org
Tue May 20 12:50:00 GMT 2008


Author: charlet
Date: Tue May 20 12:50:26 2008
New Revision: 135640

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135640
Log:
2008-05-20  Ed Schonberg  <schonberg@adacore.com>
	    Thomas Quinot  <quinot@adacore.com>

	* sem_ch4.adb
	(Try_Indexed_Call): Handle properly a construct of the form F(S) where
	F is a parameterless function that returns an array, and S is a subtype
	mark.
	(Analyze_Call): Insert dereference when the prefix is a parameterless
	function that returns an access to subprogram and the call has
	parameters.
	Reject a non-overloaded call whose name resolves to denote
	a primitive operation of the stub type generated to support a remote
	access-to-class-wide type.


Modified:
    trunk/gcc/ada/sem_ch4.adb



More information about the Gcc-cvs mailing list