https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106900
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like gcc can't figure out that isize can't be 0 even if there was a check for integer_zerop (size) before hand. There must be a way to add an assert there to allow gcc to figure that out.