2008-05-20 Gary Dismukes <dismukes@adacore.com>
authorGary Dismukes <dismukes@adacore.com>
Tue, 20 May 2008 12:45:27 +0000 (14:45 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 20 May 2008 12:45:27 +0000 (14:45 +0200)
commitd70d147e3cdb82621a0f61d70e6243d64395f062
treec0c951398b320acd46e82831c203b69976e5d1d9
parent7e5ce5a8c48eeda48b61a1d82abddb76dd07f115
2008-05-20  Gary Dismukes  <dismukes@adacore.com>
    Hristian Kirtchev  <kirtchev@adacore.com>

* exp_ch3.adb
(Expand_N_Object_Declaration): Correct the condition which triggers the
generation of a call to Displace when initializing a class-wide object.
(Build_Dcheck_Functions): Build discriminant-checking for null variants
when Frontend_Layout_On_Target is true to ensure that they're available
for calling when a record variant size function is built in Layout.

From-SVN: r135621
gcc/ada/exp_ch3.adb