r129331 - /trunk/gcc/ada/sem_aggr.adb
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Mon Oct 15 13:56:00 GMT 2007
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
More information about the Gcc-cvs
mailing list