https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, the GCC C/C++ FEs don't impose such low limits, just compiled a function with 100000 characters in the identifier. I think the limit is actually (given sufficient memory) around 2GB minus epsilon for identifier lengths, string literal lengths (they use signed 32-bit int as length). Where we have a low limit (but can be raised by command line option) is nesting level of #include directives, -fmax-include-depth= defaults to 200, where C requires at least 15 levels and C++ requires at least 256 levels.