PR ipa/63595
commitfd43cc5994d37643c4b887558af575f9441babd9
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Nov 2014 12:32:30 +0000 (7 12:32 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Nov 2014 12:32:30 +0000 (7 12:32 +0000)
tree0b4d48f2d89c808ed0bbec9eb9bf0c8bf6983e09
parentb43b0cfd161c5e289a4c8c97aa0bd6e67446d6e3
PR ipa/63595
* g++.dg/ipa/pr63595.C: New test.

* cgraphunit.c (cgraph_node::expand_thunk): DECL_BY_REFERENCE
is correctly handled for thunks created by IPA ICF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217218 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr63595.C [new file with mode: 0644]