https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100222
Bug ID: 100222 Summary: Redundant mark_irreducible_loops () in predicate.c Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: fxue at os dot amperecomputing.com Target Milestone: --- Found two places that redundant mark_irreducible_loops() is called after loop_optimizer_init (LOOPS_NORMAL), since "LOOPS_NORMAL" already includes "LOOPS_HAVE_MARKED_IRREDUCIBLE_REGIONS". The codes are in pass_profile::execute () and report_predictor_hitrates().