[Bug tree-optimization/119293] [15/16 Regression] gcc.dg/vect/vect-121.c fails since r15-6811-g086031c0585985

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 10 07:31:42 GMT 2025


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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
diff --git a/gcc/tree-cfgcleanup.cc b/gcc/tree-cfgcleanup.cc
index 093fde93da6..9df75d963be 100644
--- a/gcc/tree-cfgcleanup.cc
+++ b/gcc/tree-cfgcleanup.cc
@@ -226,6 +231,7 @@ cleanup_control_expr_graph (basic_block bb,
gimple_stmt_iterator gsi)
                }

              taken_edge->probability += e->probability;
+             taken_edge->dest->count += e->count ();
              remove_edge_and_dominated_blocks (e);
              retval = true;
            }
```

Here is the fix for one of the mismatch counts issue here.
I am still debugging the other one.


More information about the Gcc-bugs mailing list