exp_aggr.adb (Replace_Type): When checking for self-reference...
authorEd Schonberg <schonberg@adacore.com>
Wed, 26 Mar 2008 07:38:00 +0000 (08:38 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 26 Mar 2008 07:38:00 +0000 (08:38 +0100)
commitacf63f8c062cc57d127c9bc65af2b60c3548bcab
tree6ea71650a49d9af81f485f4799abf29488bc4b6f
parent3b8d33ef1d3979b83e0085ab8a87b06b48399441
exp_aggr.adb (Replace_Type): When checking for self-reference...

2008-03-26  Ed Schonberg  <schonberg@adacore.com>

* exp_aggr.adb (Replace_Type): When checking for self-reference, verify
that the prefix of an attribute is the type of the aggregate being
expanded.

From-SVN: r133558
gcc/ada/exp_aggr.adb