This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r216370 - in /trunk/gcc/ada: ChangeLog sem_ch3....
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 17 Oct 2014 08:34:55 -0000
- Subject: r216370 - in /trunk/gcc/ada: ChangeLog sem_ch3....
Author: charlet
Date: Fri Oct 17 08:34:54 2014
New Revision: 216370
URL: https://gcc.gnu.org/viewcvs?rev=216370&root=gcc&view=rev
Log:
2014-10-17 Hristian Kirtchev <kirtchev@adacore.com>
* sem_ch3.adb (Build_Derived_Record_Type): Remove the propagation
of all attributes related to pragma Default_Initial_Condition.
(Build_Derived_Type): Propagation of all attributes related
to pragma Default_Initial_Condition.
(Process_Full_View): Account for the case where the full view derives
from another private type and propagate the attributes related
to pragma Default_Initial_Condition to the private view.
(Propagate_Default_Init_Cond_Attributes): New routine.
* sem_util.adb: Alphabetize various routines.
(Build_Default_Init_Cond_Call): Use an unchecked type conversion
when calling the default initial condition procedure of a private type.
(Build_Default_Init_Cond_Procedure_Declaration): Prevent
the generation of multiple default initial condition procedures.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sem_ch3.adb
trunk/gcc/ada/sem_util.adb