https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103216
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |103218 URL| |https://gcc.gnu.org/piperma | |il/gcc-patches/2021-Novembe | |r/584411.html Keywords| |patch --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- With PR 103218 patch and the one which I submited here: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584411.html This is basically fixed (we run into PR 103220 but that is a gimple level missed optimization which should not matter really). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103218 [Bug 103218] (a < 0) << signbit is not always optimized to a & signbitmask at the gimple level