https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89957
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=89911 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The crashing code (the wi::ltu_p call): if (!TREE_NO_WARNING (exp) && wi::ltu_p (wi::to_wide (maxobjsize), min) && warning_at (loc, OPT_Wstringop_overflow_, "%K%qD specified bound [%wu, %wu] " "exceeds maximum object size %E", exp, func, min.to_uhwi (), max.to_uhwi (), maxobjsize)) TREE_NO_WARNING (exp) = true; The test case was reduced from pr89911.