https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120579

            Bug ID: 120579
           Summary: gimple_could_trap_p_1 has Special case for COND_EXPR
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: internal-improvement
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: pinskia at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

/* For COND_EXPR only the condition may trap.  */
      if (op == COND_EXPR)
        return tree_could_trap_p (gimple_assign_rhs1 (s));


op will never be a comparison so it will never trap.

Reply via email to