OSDN Git Service

2010-02-22 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2010 15:53:27 +0000 (15:53 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2010 15:53:27 +0000 (15:53 +0000)
commitc21cf15cd9421a802ab70cd461d4e135e20db943
treec4319a78825fefbbe169d78d1f2716fb5d69d8e1
parentc21d7f23b99500b4840d495e4e9c25a128ca3891
2010-02-22  Richard Guenther  <rguenther@suse.de>

PR lto/43045
* tree-inline.c (declare_return_variable): Use the type of
the call stmt lhs if available.

* gfortran.dg/lto/20100222-1_0.f03: New testcase.
* gfortran.dg/lto/20100222-1_1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156966 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/lto/20100222-1_0.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/lto/20100222-1_1.c [new file with mode: 0644]
gcc/tree-inline.c