2015-10-16 Gary Dismukes <dismukes@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Oct 2015 12:22:22 +0000 (12:22 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Oct 2015 12:22:22 +0000 (12:22 +0000)
commit849fc00e181d8fa6bddbdb6ff0fc5f3df4736b1f
tree40dc89e985fd0bafa3c6714684353ab06c6b1663
parent1b33b1decee17659a4d67c757d690f7105de5e2e
2015-10-16  Gary Dismukes  <dismukes@adacore.com>

* exp_ch9.adb (Build_Simple_Entry_Call): Set_Is_Internal on
the temporary object used for a by-copy entry parameter, to
ensure that the object doesn't get its No_Initialization flag
reset later in Default_Initialize_Object. Also, generate the
assignment of the actual to the temporary in the additional case
of a scalar out parameter whose type has a Default_Value aspect.
* exp_ch3.adb: Fix minor typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228879 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_ch3.adb
gcc/ada/exp_ch9.adb