2008-05-20 Hristian Kirtchev <kirtchev@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 May 2008 12:46:06 +0000 (12:46 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 May 2008 12:46:06 +0000 (12:46 +0000)
commitb12c8e273e0b39b73e7b6cb48f88335f8ada6f88
tree68995467c8c5e817aecaf2aea92a7acac83fcf0d
parentba381ae5404608221a17b0f895bade166e5cb587
2008-05-20  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_ch6.adb (Expand_Call): Add guard to ensure that both the parent
and the derived type are of the same kind.
(Expand_Call): Generate type conversions for actuals of
record or array types when the parent and the derived types differ in
size and/or packed status.

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