https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79373
--- Comment #5 from Steven Pigeon <steven.p.pigeon at gmail dot com> --- The problem is not the function that overflows. It's the loop that calls them that never stops. I don't see how that's "resolved": the overflow in the function should not affect the loop that calls it.