r206887 - in /trunk/gcc/ada: ChangeLog a-except...

charlet@gcc.gnu.org charlet@gcc.gnu.org
Tue Jan 21 16:20:00 GMT 2014


Author: charlet
Date: Tue Jan 21 16:20:24 2014
New Revision: 206887

URL: http://gcc.gnu.org/viewcvs?rev=206887&root=gcc&view=rev
Log:
2014-01-21  Robert Dewar  <dewar@adacore.com>

	* sem_ch3.adb, sem_prag.adb, sem_prag.ads, sem_ch12.adb, sem_res.adb,
	sem_ch6.adb, a-except-2005.adb: Minor reformatting.

2014-01-21  Ed Schonberg  <schonberg@adacore.com>

	* exp_ch3.adb (Expand_N_Object_Declaration): When a class-wide
	object is declared, it is rewritten as a renaming of an dynamic
	expression that wraps the initial value.  The renaming declaration
	is first given an internal name, to prevent collisions with the
	entity already declared, and then the name is modified to reflect
	the original one. the modification of the name must preserve
	the source location of the original, to prevent spurious errors
	when compiling with style checks if the declaration involves
	more than one entity.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/a-except-2005.adb
    trunk/gcc/ada/exp_ch3.adb
    trunk/gcc/ada/sem_ch12.adb
    trunk/gcc/ada/sem_ch3.adb
    trunk/gcc/ada/sem_ch6.adb
    trunk/gcc/ada/sem_prag.adb
    trunk/gcc/ada/sem_prag.ads
    trunk/gcc/ada/sem_res.adb



More information about the Gcc-cvs mailing list