Fix a failure in the libiberty testsuite by increasing the demangle recursion limit...
authorNick Clifton <nickc@redhat.com>
Tue, 11 Dec 2018 11:59:53 +0000 (11:59 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 11 Dec 2018 11:59:53 +0000 (11:59 +0000)
PR 88409
* demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048.

From-SVN: r267020

include/ChangeLog
include/demangle.h

index c26ddf4..b3592d3 100644 (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.
index 1e67fe2..fadf708 100644 (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.