re PR ipa/65236 (IPA ICF causes miscompilation in Chromium built with -Os)
authorJan Hubicka <hubicka@ucw.cz>
Sat, 28 Feb 2015 20:32:15 +0000 (21:32 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 28 Feb 2015 20:32:15 +0000 (20:32 +0000)
commitb7aa4a3ab319b307daf896c274557443593acbd5
treeb1b16f1a1567b6bacad4d0f21597b2a83c80b5cf
parentf083b434c27face3cdf13c0f5b089d3f651956f3
re PR ipa/65236 (IPA ICF causes miscompilation in Chromium built with -Os)

PR ipa/65236
* g++.dg/ipa/ipa-icf-6.C: New testcase.
* cgraphunit.c (cgraph_node::expand_thunk): Enable return slot
opt.

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