https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91477
Bug ID: 91477 Summary: error messages stop including column numbers for large source file Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: huili80 at gmail dot com Target Milestone: --- At work we have generated headers that can be millions of lines. While compiling with gcc-8.2.1, I noticed that I'm not getting column numbers in error messages, only getting filenames and line numbers. I initially tried adding -fshow-column but that didn't help. After experimenting a bit, the problem appears to show up when header files are large, regardless what code is actually in the headers, and regardless of whether the code in the headers is related to the code that is erroneous. I didn't try to find the exact file size to produce this problem, but I observed that when the pre-processed source file had about 690k lines (~26MB in size), column numbers were no longer shown in errors. The only other compiler i had was gcc4.8.2 and I don't have the same problem.