trans.c (call_to_gnu): Also force the return slot opt for the call to a function...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 30 Aug 2010 15:59:45 +0000 (15:59 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 30 Aug 2010 15:59:45 +0000 (15:59 +0000)
commitae4235508ed13b83b8ffdba19829119e937205fe
tree79c5afbd64c3dc192e8f62d52cce15063a486f45
parent2e481a2ff50e75ef3b8efb6644b41a260f813d3a
trans.c (call_to_gnu): Also force the return slot opt for the call to a function whose return type was...

* gcc-interface/trans.c (call_to_gnu): Also force the return slot opt
for the call to a function whose return type was unconstrained.

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