https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63576
Ilya Palachev <i.palachev at samsung dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i.palachev at samsung dot com --- Comment #3 from Ilya Palachev <i.palachev at samsung dot com> --- (In reply to Jan Hubicka from comment #2) > speculative edges come in pairs (direct, indirect edge) that is obtained by > speculative_call_info. THen you need to sum counts (instead of taking ones > from BB) and turn them back to frequencies (because it is profile only > counts should be non-0) Suggested patch https://gcc.gnu.org/ml/gcc-patches/2014-10/msg02764.html Jan, so you mean that counts from BBs and counts from speculative edges should be sumed?