trans.c (call_to_gnu): In the by-reference case...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 12 May 2011 14:54:09 +0000 (14:54 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 12 May 2011 14:54:09 +0000 (14:54 +0000)
commit7bf9a5ac1c5310efed24c42eab522e4e9ade1933
tree3df342877a3a9a3b2cf6eef779b339e65eea49b8
parent61332f77748bd6ea8cb59c15f08a48466940ac95
trans.c (call_to_gnu): In the by-reference case...

* gcc-interface/trans.c (call_to_gnu): In the by-reference case, if the
type of the parameter is an unconstrained array, convert the actual to
the type of the formal in the In Out and Out cases as well.

From-SVN: r173706
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/view_conversion1.adb [new file with mode: 0644]