sem_ch3.adb (Analyze_Full_Type_Declaration): If the declaration is a completion and...
authorEd Schonberg <schonberg@adacore.com>
Thu, 4 Aug 2011 09:11:43 +0000 (09:11 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 4 Aug 2011 09:11:43 +0000 (11:11 +0200)
commitdeb4f5ba328e83f81427014132325c7a1d59b7bb
treedeef39de473ca58b796b1a0c8fd4be7678630b57
parentfc893455a5c2c9238f077412cf5a0bdc29abed34
sem_ch3.adb (Analyze_Full_Type_Declaration): If the declaration is a completion and aspects are present...

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

* sem_ch3.adb (Analyze_Full_Type_Declaration): If the declaration is a
completion and aspects are present, apply them to the entity for the
type which is currently the partial view, but which is the one that
will be frozen.
* sem_ch13.adb (Analyze_Aspect_Specifications): if the predicate
applies to a partial view, indicate that the full view has predicates
and delayed aspects.
(Replace_Type_Reference): Handle properly predicates that apply to the
full view of a private completion.

From-SVN: r177340
gcc/ada/ChangeLog
gcc/ada/sem_ch13.adb
gcc/ada/sem_ch3.adb