[Bug tree-optimization/95836] Failure to remove strchr converted to bool with string literal when bit magic would be much more efficient (and sometimes smaller)
gabravier at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Jun 23 15:55:03 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95836
--- Comment #2 from Gabriel Ravier <gabravier at gmail dot com> ---
Yeah I wasn't sure whether this was legitimate, I was just trying to give a
small example here, I dont think doesn't changes anything to how the
optimization is able to work unless GCC has targets where `a << b` with `b >
BITS_IN_A` traps.
More information about the Gcc-bugs
mailing list