https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120061
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 61328 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61328&action=edit gcc14-pr120061.patch Untested 14 branch version of the patch which fixes all 3 tests (though none included, I think we'd need some hacks because even a file with 327676 empty lines plus two non-empty feels too long, not talking about 9503676 empty lines + two non-empty.