This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r134049 - in /trunk/gcc/ada: sem_aggr.adb sem_c...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 08 Apr 2008 06:55:06 -0000
- Subject: r134049 - in /trunk/gcc/ada: sem_aggr.adb sem_c...
Author: charlet
Date: Tue Apr 8 06:55:06 2008
New Revision: 134049
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134049
Log:
2008-04-08 Ed Schonberg <schonberg@adacore.com>
Robert Dewar <dewar@adacore.com>
* sem_aggr.adb (Analyze_N_Extension_Aggregate): Add legality checks for
the ancestor part of an extension aggregate for a limited type.
(Resolve_Array_Aggregate): Issue warning for sliding of aggregate with
enumeration index bounds.
(Resolve_Array_Aggregate): Add circuit for diagnosing missing choices
when array is too short.
(Check_Expr_OK_In_Limited_Aggregate): Move function
Check_Non_Limited_Type from Resolve_Record_Aggregate to top level (and
change name).
(Resolve_Array_Aggregate.Resolve_Aggr_Expr):
Check_Expr_OK_In_Limited_Aggregates called to check for illegal limited
component associations.
(Check_Non_Limited_Type): Moved to outer level and renamed.
(Resolve_Record_Aggregate): In an extension aggregate, an association
with a box initialization can only designate a component of the
extension, not a component inherited from the given ancestor
* sem_case.adb: Use new Is_Standard_Character_Type predicate
Modified:
trunk/gcc/ada/sem_aggr.adb
trunk/gcc/ada/sem_case.adb