sem_util.adb (Gather_Components): When gathering components of a nested variant...
authorEd Schonberg <schonberg@adacore.com>
Fri, 16 Oct 2015 10:28:37 +0000 (10:28 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 16 Oct 2015 10:28:37 +0000 (12:28 +0200)
commit251b6a477e97787533753da196dc6e9640359a5a
treeb8a940922c583868d74bb26e3f7234adaf9f5c5c
parent74e3c262622d61ee507eaf6000537cc4cd39b907
sem_util.adb (Gather_Components): When gathering components of a nested variant...

2015-10-16  Ed Schonberg  <schonberg@adacore.com>

* sem_util.adb (Gather_Components): When gathering components
of a nested variant, the record type used in legality checks is
the enclosing record type.

From-SVN: r228865
gcc/ada/ChangeLog
gcc/ada/sem_util.adb