https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120061
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- gcc 14 and earlier uses 32-bit location_t while 15+ 64-bit location_t, so guess that makes significant difference here, one needs far fewer lines (or columns/ranges etc.) to reach the limit.