https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #53395|0 |1 is obsolete| | --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 53396 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53396&action=edit more reduced profitable_path_p More reduced, the actual function is now simply bool back_threader_profitability::profitable_path_p (const vec<basic_block> &m_path, tree , edge , bool *) { if (m_path.length () <= 1) return false; gimple *stmt = get_gimple_control_stmt (m_path[0]); estimate_num_insns (stmt, &eni_size_weights); edge entry = find_edge (m_path[m_path.length () - 1], m_path[m_path.length () - 2]); if (probably_never_executed_edge_p ((cfun + 0), entry)) return false; return true; }