[Bug tree-optimization/58195] Missed optimization opportunity when returning a conditional

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 5 01:28:55 GMT 2021


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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note the loop based one is a little more complex due to the way GCC IR handles
overflow being wrapping or undefined; I am just going to fix the case where
overflow is defined as wrapping. The other case needs more work and maybe even
a huge change in the IR handling.


More information about the Gcc-bugs mailing list