https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78947
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |8.5.0 Known to work| |9.1.0 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > Confirmed, this is fold-cost folding: > (bool)(a?b:c) > into a ? (bool) b : (bool)c; > early. This was removed in GCC 9.