[Ada] Unnesting: exclude selected components whose prefix carry no type
authorEd Schonberg <schonberg@adacore.com>
Tue, 29 May 2018 09:41:45 +0000 (09:41 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 29 May 2018 09:41:45 +0000 (09:41 +0000)
commit14f8ba9ad1d587528208b9f759849333a19918d8
tree224aab2a85d5aeddcdae97d5e089f985a92fd5a0
parentec3b72c55d064424cd9ed3b92b1bd7be5b501ecd
[Ada] Unnesting: exclude selected components whose prefix carry no type

2018-05-29  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* exp_unst.adb (Visit_Node): Exclude selected components whose prefix
carry no type. Such selected components appear in unit names that are
child units, both in the specification and possibly in an end label for
the unit, and they do not contain any relevant uplevel references.

From-SVN: r260879
gcc/ada/ChangeLog
gcc/ada/exp_unst.adb