[Bug tree-optimization/89163] Missed optimization: sar and shr equivalent for non-negative numbers

Explorer09 at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 20 14:07:36 GMT 2024


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

--- Comment #4 from Kang-Che Sung <Explorer09 at gmail dot com> ---
(In reply to Xi Ruoyao from comment #2)
> *** Bug 114406 has been marked as a duplicate of this bug. ***

I can't say bug 114406 is an exact duplicate of this one. Although my report
mainly addresses right shift, I also mentioned division, modulo and
multiplication. These can also be optimized where the signedness of the
operations do not matter.


More information about the Gcc-bugs mailing list