From 1c6ffbab63f55187909b6d71cfca6080e9cf43cf Mon Sep 17 00:00:00 2001 From: Qing Zhao Date: Tue, 2 Jul 2019 20:23:30 +0000 Subject: 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 --- gcc/doc/cppopts.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/doc/cppopts.texi') diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi index 48c574f..61e22cd 100644 --- a/gcc/doc/cppopts.texi +++ b/gcc/doc/cppopts.texi @@ -261,6 +261,10 @@ enabled by default for C99 (and later C standard versions) and C++. @opindex fno-canonical-system-headers When preprocessing, do not shorten system header paths with canonicalization. +@item -fmax-include-depth=@var{depth} +@opindex fmax-include-depth +Set the maximum depth of the nested #include. The default is 200. + @item -ftabstop=@var{width} @opindex ftabstop Set the distance between tab stops. This helps the preprocessor report -- cgit v1.1