sem_aggr.adb (Resolve_Array_Aggregate): when copying the expression in an association...
authorEd Schonberg <schonberg@adacore.com>
Tue, 2 Aug 2011 15:17:00 +0000 (15:17 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 2 Aug 2011 15:17:00 +0000 (17:17 +0200)
commit6ff6152d5046cab8da2873eb3a95bd85b7074194
tree284c7b6bf8b1bd4eb4254d6f70b9600f3e895f8b
parent975c689678295f3c614f55a84a62c49bdd866a6a
sem_aggr.adb (Resolve_Array_Aggregate): when copying the expression in an association...

2011-08-02  Ed Schonberg  <schonberg@adacore.com>

* sem_aggr.adb (Resolve_Array_Aggregate): when copying the expression
in an association, set parent field of copy before partial analysis.
* sem_res.adb (Resolve_Slice): create reference to itype only when
expansion is enabled.

From-SVN: r177178
gcc/ada/ChangeLog
gcc/ada/sem_aggr.adb
gcc/ada/sem_res.adb