https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117853
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |diagnostic Last reconfirmed| |2024-11-30 Known to fail| |7.1.0 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- `1 + !!a` is transformed internally into `a ? 1 : 2` and that should not be exposed to the user. Reduced to just: ``` _Bool f(int a) { return 1 + !!a; } ```