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

            Bug ID: 126216
           Summary: set_switch_stmt_execution_predicate uses
                    get_legacy_range
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: FIXME
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

ipa-fnsummary.cc:

  // TODO: This entire function could use a rewrite to use the irange
  // API, instead of trying to recreate its intersection/union logic.
  // Any use of get_legacy_range() is a serious code smell.
  value_range_kind vr_type = get_legacy_range (vr, vr_min, vr_max);

Reply via email to