OSDN Git Service

* gcc-interface/trans.c (call_to_gnu): Create the temporary for the
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Jan 2012 21:08:53 +0000 (21:08 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Jan 2012 21:08:53 +0000 (21:08 +0000)
commit5c0db21dfafba28a2a64414a732735aa19169ed0
tree251ea15fe6dc8ace11d106256923db2dff8acb39
parent96dfda99c9a2d263b1369fb0b19b9d67f5e4ae44
* gcc-interface/trans.c (call_to_gnu): Create the temporary for the
return value in the variable-sized return type case if the target is
an array with fixed size.  However, do not create it if this is the
expression of an object declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183033 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/array18.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/array18_pkg.ads [new file with mode: 0644]