This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r129331 - /trunk/gcc/ada/sem_aggr.adb
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 15 Oct 2007 13:56:16 -0000
- Subject: r129331 - /trunk/gcc/ada/sem_aggr.adb
Author: charlet
Date: Mon Oct 15 13:56:15 2007
New Revision: 129331
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129331
Log:
2007-10-15 Gary Dismukes <dismukes@adacore.com>
* sem_aggr.adb (Resolve_Record_Aggregate): In the case of a box
association for an access component, add an association with null as
the expression. Remove testing for array subtypes and the setting in
that case of Ctyp to the array component type, which prevented proper
inclusion of an association for null-initialized arrays. Collapse
condition that tests for array subtypes into just a test of
Is_Partially_Initialized_Type (which already covers arrays anyway).
Modified:
trunk/gcc/ada/sem_aggr.adb