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.

From-SVN: r267020
This commit is contained in:
Nick Clifton 2018-12-11 11:59:53 +00:00 committed by Nick Clifton
parent 315fdae8f9
commit 921a4c3057
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-12-11 Nick Clifton <nickc@redhat.com>
PR 88409
* demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048.
2018-12-07 Nick Clifton <nickc@redhat.com>
* demangle.h (DMGL_NO_RECURSE_LIMIT): Define.

View File

@ -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.