einfo.adb (Default_Init_Cond_Procedure): Code cleanup.
authorHristian Kirtchev <kirtchev@adacore.com>
Fri, 22 May 2015 12:34:33 +0000 (12:34 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 22 May 2015 12:34:33 +0000 (14:34 +0200)
commitcaef4e579db9d9ab0cc7eba35e58b04e4ac65649
treefecab926a75acda729596dff428497a54c909fdf
parent57ae790f79b9710229ec9c791bc0e05775f8e71b
einfo.adb (Default_Init_Cond_Procedure): Code cleanup.

2015-05-22  Hristian Kirtchev  <kirtchev@adacore.com>

* einfo.adb (Default_Init_Cond_Procedure): Code cleanup. The
attribute now applies to the base type.
(Has_Default_Init_Cond): Now applies to the base type.
(Has_Inherited_Default_Init_Cond): Now applies to the base type.
(Set_Default_Init_Cond_Procedure): Code cleanup. The attribute now
applies to the base type.
(Set_Has_Default_Init_Cond): Now applies to the base type.
(Set_Has_Inherited_Default_Init_Cond): Now applies to the base type.
* exp_ch3.adb (Expand_N_Object_Declaration): No need to use the
base type when adding a call to the Default_Initial_Condition.

From-SVN: r223551
gcc/ada/ChangeLog
gcc/ada/einfo.adb
gcc/ada/exp_ch3.adb