exp_ch3.adb (Expand_N_Object_Declaration): Remove checks for No_Default_Initialization...
authorGary Dismukes <dismukes@adacore.com>
Mon, 26 May 2008 15:50:54 +0000 (17:50 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 26 May 2008 15:50:54 +0000 (17:50 +0200)
commit1ce1f005363955236991e5b86f4f6f90619233b9
tree01fea713d5bd1d17b573ed1dc05f25ee213c31d7
parent9019f3fcc7a4b2063fef3671cd133493acfbc7d2
exp_ch3.adb (Expand_N_Object_Declaration): Remove checks for No_Default_Initialization...

2008-05-26  Gary Dismukes  <dismukes@adacore.com>

* exp_ch3.adb (Expand_N_Object_Declaration): Remove checks for
No_Default_Initialization, which is now delayed until the freeze point
of the object. Add a comment about deferral of the check.

* freeze.adb (Freeze_Entity): The check for No_Default_Initialization
on objects is moved here.

From-SVN: r135941
gcc/ada/exp_ch3.adb
gcc/ada/freeze.adb