From: nickc Date: Tue, 11 Dec 2018 11:59:53 +0000 (+0000) Subject: Fix a failure in the libiberty testsuite by increasing the demangle recursion limit... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce27f7c15ba52b57bf2b91fb657374a7f5b64725;p=thirdparty%2Fgcc.git Fix a failure in the libiberty testsuite by increasing the demangle recursion limit to 2048. PR 88409 * demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267020 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/include/ChangeLog b/include/ChangeLog index c26ddf4b4e33..b3592d370cea 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2018-12-11 Nick Clifton + + PR 88409 + * demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048. + 2018-12-07 Nick Clifton * demangle.h (DMGL_NO_RECURSE_LIMIT): Define. diff --git a/include/demangle.h b/include/demangle.h index 1e67fe2fb349..fadf7082c054 100644 --- a/include/demangle.h +++ b/include/demangle.h @@ -77,7 +77,7 @@ extern "C" { /* If DMGL_NO_RECURSE_LIMIT is not enabled, then this is the value used as the maximum depth of recursion allowed. It should be enough for any real-world mangled name. */ -#define DEMANGLE_RECURSION_LIMIT 1024 +#define DEMANGLE_RECURSION_LIMIT 2048 /* Enumeration of possible demangling styles.