https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125672
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|tree-optimization |rtl-optimization
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-06-08
CC| |pinskia at gcc dot gnu.org
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
So jump threading is doing what it should be doing. I think the problem is
ifcvt is not as agressive as it should be in some cases.
Right now moving over rtl optimization. Though Jeff and I have talked about
doing some ifcvt right before expansion.
There is a lot of changes should be done on the gimple level dealing with
ifcvt; some are match patterns should be delayed until late. Some are removing
those match patterns and only doing them during expansion; e.g. `a ? b : 0`.
(but that is not directly related to this one).