https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121371
--- Comment #3 from LXYan <z00823823 at outlook dot com> --- (In reply to Andrew Pinski from comment #2) > If you used size_t, then it would just work. I know it, but programmer comes form Java/Fortran background just use signed integer everywhere, so this is still a common pattern in code