2015-10-16 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Oct 2015 10:28:37 +0000 (10:28 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Oct 2015 10:28:37 +0000 (10:28 +0000)
commit0fb1044f4c9dc43ef1cddc1e94a06ef5b4733279
treeb8a940922c583868d74bb26e3f7234adaf9f5c5c
parentcba8396b9bce0cfd66e6f615e15b6ccde6aa7f47
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228865 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/sem_util.adb