re PR preprocessor/90581 (provide an option to adjust the maximum depth of nested...
authorQing Zhao <qing.zhao@oracle.com>
Tue, 2 Jul 2019 20:23:30 +0000 (20:23 +0000)
committerQing Zhao <qinzhao@gcc.gnu.org>
Tue, 2 Jul 2019 20:23:30 +0000 (20:23 +0000)
commit1c6ffbab63f55187909b6d71cfca6080e9cf43cf
tree679d86bed67edce3cb9d5cbc6390c7cbaa52e899
parent709877bf765cbef2d758ecb48c6e34b94e8a7151
re PR preprocessor/90581 (provide an option to adjust the maximum depth of nested #include)

PR preprocessor/90581
Add a cpp option -fmax-include-depth to set the maximum depth of the nested #include.

From-SVN: r272948
15 files changed:
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/c-family/c.opt
gcc/doc/cppopts.texi
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cpp/fmax-include-depth-1a.h [new file with mode: 0644]
gcc/testsuite/c-c++-common/cpp/fmax-include-depth-1b.h [new file with mode: 0644]
gcc/testsuite/c-c++-common/cpp/fmax-include-depth.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c
libcpp/include/cpplib.h
libcpp/init.c
libcpp/internal.h