[Bug ada/15601] Legal program rejected (use selected notation with operators)

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 13 10:25:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-13 10:25 -------
Subject: Bug 15601

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	charlet@gcc.gnu.org	2004-08-13 10:24:48

Modified files:
	gcc/ada        : ali.adb decl.c einfo.ads gnatls.adb 
	                 lib-writ.adb prj-nmsc.adb rtsfind.adb 
	                 sem_ch3.adb sem_res.adb gnat_rm.texi ChangeLog 

Log message:
	2004-08-13  Olivier Hainque  <hainque@act-europe.fr>
	
	* decl.c (gnat_to_gnu_entity) <E_Variable>: When building an allocator
	for a global aliased object with a variable size and an unconstrained
	nominal subtype, pretend there is no initializer if the one we have is
	incomplete, and avoid referencing an inexistant component in there. The
	part we have will be rebuilt anyway and the reference may confuse
	further operations.
	
	2004-08-13  Thomas Quinot  <quinot@act-europe.fr>
	
	* einfo.ads: Minor reformatting
	
	* lib-writ.adb (Output_Main_Program_Line): Do not set parameter
	restrictions in the ALI if we only want to warn about violations.
	
	2004-08-13  Vincent Celier  <celier@gnat.com>
	
	* ali.adb (Scan_ALI): Initialize component Body_Needed_For_SAL to False
	when creating a new Unit_Record in table Units.
	
	* gnatls.adb (Output_Unit): In verbose mode, output the restrictions
	that are violated, if any.
	
	* prj-nmsc.adb (Ada_Check.Get_Path_Names_And_Record_Sources): Do not
	add directory separator if path already ends with a directory separator.
	
	2004-08-13  Ed Schonberg  <schonberg@gnat.com>
	
	* rtsfind.adb (Entity_Not_Defined): If the error ocurrs in a predefined
	unit, this is an attempt to inline a construct that is not available in
	the current restricted mode, so abort rather than trying to continue.
	
	* sem_ch3.adb (Build_Underlying_Full_View): If the new type has
	discriminants that rename those of the parent, recover names of
	original discriminants for the constraint on the full view of the
	parent.
	(Complete_Private_Subtype): Do not create a subtype declaration if the
	subtype is an itype.
	
	* gnat_rm.texi: Added section on implementation of discriminated
	records with default values for discriminants.
	
	2004-08-13  Ed Schonberg  <schonberg@gnat.com>
	
	PR ada/15601
	* sem_res.adb (Make_Call_Into_Operator): Handle properly the case where
	the second operand is overloaded.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ali.adb.diff?cvsroot=gcc&r1=1.19&r2=1.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/decl.c.diff?cvsroot=gcc&r1=1.52&r2=1.53
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/einfo.ads.diff?cvsroot=gcc&r1=1.30&r2=1.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gnatls.adb.diff?cvsroot=gcc&r1=1.18&r2=1.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/lib-writ.adb.diff?cvsroot=gcc&r1=1.21&r2=1.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/prj-nmsc.adb.diff?cvsroot=gcc&r1=1.28&r2=1.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/rtsfind.adb.diff?cvsroot=gcc&r1=1.16&r2=1.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/sem_ch3.adb.diff?cvsroot=gcc&r1=1.49&r2=1.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/sem_res.adb.diff?cvsroot=gcc&r1=1.32&r2=1.33
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gnat_rm.texi.diff?cvsroot=gcc&r1=1.28&r2=1.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcc&r1=1.544&r2=1.545



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15601



More information about the Gcc-bugs mailing list