re PR tree-optimization/63595 (Segmentation faults inside kernel)
authorMartin Liska <mliska@suse.cz>
Fri, 7 Nov 2014 12:32:30 +0000 (13:32 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 7 Nov 2014 12:32:30 +0000 (12:32 +0000)
commit8c14c817f30b966f509636b96d4e5586261a258b
tree0b4d48f2d89c808ed0bbec9eb9bf0c8bf6983e09
parent8c00ba08c614069a590c673fe20afe9a5f1f55fe
re PR tree-optimization/63595 (Segmentation faults inside kernel)

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.

From-SVN: r217218
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr63595.C [new file with mode: 0644]