2010-06-17 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Jun 2010 13:35:24 +0000 (13:35 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Jun 2010 13:35:24 +0000 (13:35 +0000)
commit6df2355fdded4df637f0d57a55ca018a43ffb985
tree60f125e5e7703baae36c11acb219108df711a873
parent6ea910dcf0b35cc77cf1d3ce51ef0420daa38420
2010-06-17  Ed Schonberg  <schonberg@adacore.com>

* exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): The
designated type of the generated pointer is the type of the original
expression, not that of the function call itself, because the return
type may be an untagged  derived type and the function may be an
inherited operation.

2010-06-17  Robert Dewar  <dewar@adacore.com>

* exp_ch4.adb: Minor reformatting

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