[Bug tree-optimization/124460] `f = max<f, invariant>` (and min) not pulled out of a loop
liuhongt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 12 08:44:36 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124460
Hongtao Liu <liuhongt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |liuhongt at gcc dot gnu.org
--- Comment #2 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
Created attachment 63903
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63903&action=edit
A untested patch
The patch handle the issue in final_value_replacement_loop.
More information about the Gcc-bugs
mailing list