[Ada] Unnesting: skip unanalyzed Component_Assocation
authorEd Schonberg <schonberg@adacore.com>
Wed, 30 May 2018 08:58:40 +0000 (08:58 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 30 May 2018 08:58:40 +0000 (08:58 +0000)
commit392a7e19fd9750110d1931732ac34105460206f6
tree80b358e46a820efc4de9606010bee23954ee1b8b
parent656d1fba78c6a743d8d65a1383400a756dfd9222
[Ada] Unnesting: skip unanalyzed Component_Assocation

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

gcc/ada/

* exp_unst.adb (Visit_Node): Do not traverse a Component_Association
that has not been analyzed, as will be the case for a nested aggregate
that is expanded into individual assignments.

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