OSDN Git Service

2010-04-23 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Apr 2010 15:18:24 +0000 (15:18 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Apr 2010 15:18:24 +0000 (15:18 +0000)
commit33d8f01921475f1c755c4d98b00e054c5765494d
tree5ec1007b1ca5d5e7b8f372a864fc8bf9ee71998d
parent7038698be1e1f573d0600c6e8988b28f12ed1a70
2010-04-23  Richard Guenther  <rguenther@suse.de>

PR lto/43455
* tree-inline.c (tree_can_inline_p): Also check compatibility
of return types.

* gcc.dg/lto/20100423-1_0.c: New testcase.
* gcc.dg/lto/20100423-1_1.c: Likewise.

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