[Bug preprocessor/90581] provide an option to adjust the maximum depth of nested #include
qinzhao at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 2 20:24:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90581
--- Comment #3 from qinzhao at gcc dot gnu.org ---
Author: qinzhao
Date: Tue Jul 2 20:23:30 2019
New Revision: 272948
URL: https://gcc.gnu.org/viewcvs?rev=272948&root=gcc&view=rev
Log:
PR preprocessor/90581
Add a cpp option -fmax-include-depth to set the maximum depth of the nested
#include.
Added:
trunk/gcc/testsuite/c-c++-common/cpp/fmax-include-depth-1a.h
trunk/gcc/testsuite/c-c++-common/cpp/fmax-include-depth-1b.h
trunk/gcc/testsuite/c-c++-common/cpp/fmax-include-depth.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-opts.c
trunk/gcc/c-family/c.opt
trunk/gcc/doc/cppopts.texi
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/directives.c
trunk/libcpp/include/cpplib.h
trunk/libcpp/init.c
trunk/libcpp/internal.h
More information about the Gcc-bugs
mailing list