r127446 - in /trunk/gcc/ada: sem_ch8.adb sem_ch...

charlet@gcc.gnu.org charlet@gcc.gnu.org
Tue Aug 14 08:46:00 GMT 2007


Author: charlet
Date: Tue Aug 14 08:46:54 2007
New Revision: 127446

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127446
Log:
2007-08-14  Thomas Quinot  <quinot@adacore.com>
	    Ed Schonberg  <schonberg@adacore.com>

	* sem_ch8.ads, sem_ch8.adb (Find_Type, case of a 'Base attribute
	reference): Use correct entity as denoted entity for the selector of
	the rewritten node.
	(Find_Direct_Name): Add comment about Generate_Reference incorrectly
	setting the Referenced_As_LHS flag for entities that are implicitly
	dereferenced.
	(Find_Type): If the type is an internally generated incomplete type,
	mark the full view as referenced, to prevent spurious warnings.
	(Find_Selected_Component, Has_Components): Handle properly non-limited
	views that are themselves incomplete types.
	Handle interfaces visible through limited-with clauses.
	(Analyze_Subprogram_Renaming): Disambiguate and set the entity of a
	subprogram generic actual for which we have generated a renaming.
	Warn when the renaming introduces a homonym of
	the renamed entity, and the renamed entity is directly visible.


Modified:
    trunk/gcc/ada/sem_ch8.adb
    trunk/gcc/ada/sem_ch8.ads



More information about the Gcc-cvs mailing list