diff options
author | Nick Clifton <nickc@redhat.com> | 2018-12-11 11:59:53 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2018-12-11 11:59:53 +0000 |
commit | 921a4c30579525b8de71d8118a2d31fcd68dea32 (patch) | |
tree | 0762a3761e38ffc3236cdcdf4bc1a9cd5c143b9f | |
parent | 315fdae8f965045f86e966953f3c010a61072729 (diff) | |
download | gcc-921a4c30579525b8de71d8118a2d31fcd68dea32.zip gcc-921a4c30579525b8de71d8118a2d31fcd68dea32.tar.gz gcc-921a4c30579525b8de71d8118a2d31fcd68dea32.tar.bz2 |
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
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/demangle.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index c26ddf4..b3592d3 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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. diff --git a/include/demangle.h b/include/demangle.h index 1e67fe2..fadf708 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. |