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

            Bug ID: 120581
           Summary: sancov_pass has a special case for COND_EXPR
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: internal-improvement
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: pinskia at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
  Target Milestone: ---

The first operand of COND_EXPR for gimple_assign is never a comparison.
                  else if (rhs_code == COND_EXPR
                           && COMPARISON_CLASS_P (gimple_assign_rhs1 (stmt)))
                    {
                      tree cond = gimple_assign_rhs1 (stmt);
                      instrument_comparison (&gsi, TREE_OPERAND (cond, 0),
                                             TREE_OPERAND (cond, 1));
                    }


Is dead.

Reply via email to