[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 29 Aug 2011 10:19:00 +0000 (12:19 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 29 Aug 2011 10:19:00 +0000 (12:19 +0200)
commit1378bf105ea73f1d4fab574dc8ed6d1479433296
tree28305a5dec129da5c93001b73f0d5239be6459fe
parent164e06c6c1fcb98089ed09959d251376ca1717dc
[multiple changes]

2011-08-29  Gary Dismukes  <dismukes@adacore.com>

* sem_type.adb: Minor reformatting.

2011-08-29  Robert Dewar  <dewar@adacore.com>

* makeutl.adb: Minor reformatting.

2011-08-29  Ed Schonberg  <schonberg@adacore.com>

* sem_ch8.adb (Analyze_Object_Renaming): If the renamed object is a
function call of a limited type, the expansion of the renaming is
complicated by the presence of various temporaries and subtypes that
capture constraints of the renamed object.
Rewrite node as an object declaration, whose expansion is simpler.
Given that the object is limited there is no copy involved and no
performance hit.

From-SVN: r178187
gcc/ada/ChangeLog
gcc/ada/makeutl.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_type.adb