https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114785
Bug ID: 114785 Summary: special handling of COND_EXPR in gimple_extract can be removed Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- After r13-707-g68e0063397ba82, COND_EXPR for gimple assign no longer could contain a comparison but the code in gimple_extract was not updated so the code there is dead and no longer could happen. Found while improving factor_out_conditional_operation in phi-opt to use gimple_match_op to allow for calls and simplify some of the code there handling VIEW_CONVERT_EXPR.