https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94877
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |96685 Target Milestone|--- |11.0 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed in GCC 11+ by r11-5958 aka PR 96685. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685 [Bug 96685] Failure to optimize not+sub to add+not