[Bug tree-optimization/103680] Jump threading and switch corrupts profile

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 9 22:19:49 GMT 2025


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

--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 63023
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63023&action=edit
Another jump threading case

Reduced from gimple-ssa-nonnull-compare.cc.
On bb to the call to a we get:
;;   Invalid sum of incoming counts 751619280 (estimated locally, freq 0.7000),
should be 864362171 (estimated locally, freq 0.8050)


More information about the Gcc-bugs mailing list