https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |middle-end --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #1) > trivial reproducer: > > > int foo (bool a, bool b) > { > if (a && !b) > return 6; > return 42; > } > > I seee the same back to 10.5 (on x86_64-darwin21). This is coming from fold ...