exp_ch5.adb (Expand_Assign_Record): Within an initialization procedure for a derived...
authorEd Schonberg <schonberg@adacore.com>
Tue, 20 May 2008 12:45:38 +0000 (14:45 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 20 May 2008 12:45:38 +0000 (14:45 +0200)
commit3ddca462736ddb7385b51f03631fd77501a3d852
tree93b1a9addc3caa5bc0e197aa7964366767a6e171
parentd70d147e3cdb82621a0f61d70e6243d64395f062
exp_ch5.adb (Expand_Assign_Record): Within an initialization procedure for a derived type retrieve the discriminant...

2008-05-20  Ed Schonberg  <schonberg@adacore.com>

* exp_ch5.adb (Expand_Assign_Record): Within an initialization
procedure for a derived type retrieve the discriminant values from the
parent using the corresponding discriminant.
(Expand_N_Assignment_Statement): Skip generation of implicit
if-statement associated with controlled types if we are
compiling with restriction No_Finalization.

From-SVN: r135622
gcc/ada/exp_ch5.adb