re PR ipa/64801 (kernel build failure due to ICF)
commit10881cffc20a2eddc90f40ec5796fc0ce697f8d7
authorJan Hubicka <hubicka@ucw.cz>
Thu, 29 Jan 2015 07:43:14 +0000 (29 08:43 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 29 Jan 2015 07:43:14 +0000 (29 07:43 +0000)
treef011650fc0f421082a967c18e661f127af6f2860
parentbea30e0dea2888c88064fcebc106ef1647b16897
re PR ipa/64801 (kernel build failure due to ICF)

PR ipa/64801
* gcc.dg/tree-ssa/pr64801.c: New testcase.
* cgraphunit.c (init_lowered_empty_function): Add CoUNT parameter;
make sane BB profile.
(cgraph_node::expand_thunk): Make sane BB profile.
(cgraph_node::create_wrapper): Do not set call_stmt_cannot_inline_p.
* cgraph.h (init_lowered_empty_function): Update prototype.
* config/i386/i386.c (make_resolver_func): Update call.
* predict.c (gate): Disable branch prediction pass if
profile is already there.

From-SVN: r220230
gcc/ChangeLog
gcc/cgraph.h
gcc/cgraphunit.c
gcc/config/i386/i386.c
gcc/predict.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr64801.c [new file with mode: 0644]