[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 22 Jun 2009 13:15:08 +0000 (15:15 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 22 Jun 2009 13:15:08 +0000 (15:15 +0200)
commit6823270cb98959be5157725c7e0efd87c0b61e23
tree6125b7f8442e33eeeb9d44c9f01c87cbce2e5066
parentc9e7bd8efbef325c4cd76b2382ce5858d153e2c4
[multiple changes]

2009-06-22  Javier Miranda  <miranda@adacore.com>

* sem_ch3.adb (Analyze_Object_Declaration, Freeze_Entity): Move to the
freezing point the check on the use of abstract types in object
declarations. Done to allow the declaration of C++ imported variables
or constants whose type corresponds with an imported C++ classes for
which the constructor is not imported.

2009-06-22  Thomas Quinot  <quinot@adacore.com>

* sem_ch6.adb: Minor reformatting

2009-06-22  Ed Schonberg  <schonberg@adacore.com>

* exp_ch3.adb (Build_Initialization_Call): If a discriminated record
component is constrained with an expression rather than with a
discriminant of the enclosing type, use that expression when building
the call to default-initialize the component, when the call is part of
an aggregate with box initialization.

From-SVN: r148793
gcc/ada/ChangeLog
gcc/ada/exp_ch3.adb
gcc/ada/freeze.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_ch6.adb