This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r161195 - in /trunk/gcc/ada: ChangeLog exp_aggr...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 22 Jun 2010 15:37:20 -0000
- Subject: r161195 - in /trunk/gcc/ada: ChangeLog exp_aggr...
Author: charlet
Date: Tue Jun 22 15:37:19 2010
New Revision: 161195
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161195
Log:
2010-06-22 Thomas Quinot <quinot@adacore.com>
* exp_aggr.adb (Rewrite_Discriminant): Rewriting must occur only for an
expression referring to a discriminal of the type of the aggregate (not
a discriminal of some other unrelated type), and the prefix in the
generated selected component must come from Lhs, not Obj.
2010-06-22 Thomas Quinot <quinot@adacore.com>
* sem_ch3.adb (Build_Derived_Record_Type): Fix predicate determining
when to freeze the parent type.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_aggr.adb
trunk/gcc/ada/sem_ch3.adb