https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109866
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|rtl-optimization |tree-optimization --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So I think forwprop could/should do this. Right now it requires c to be single use but we should detect that somehow a-b use is reverse dominated by the first use of c. Anyways this might require a rewrite of parts of forwprop ...