https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #2) > To me this looks like a bug in gimple-fold.cc. > The r12-6924-gc2b610e7c6c89fd4 simplifies > _5 = 1 / c.0_4; > into > _5 = c.0_4 == 1; No this is not valid gimple as the comparisons always return a boolean type. There needs to be a cast added.