aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-07-04 16:28:02 +0100
committerNick Clifton <nickc@redhat.com>2022-07-04 16:28:02 +0100
commit96c33f79ded357e871c43af04238dfdedebac86c (patch)
tree9d2db55682622cbaca09dfbabc8aa14d8f55a96f /libiberty
parenteeeaf705fe1c94e9330fa222d7928a9d0f03832a (diff)
downloadfsf-binutils-gdb-96c33f79ded357e871c43af04238dfdedebac86c.zip
fsf-binutils-gdb-96c33f79ded357e871c43af04238dfdedebac86c.tar.gz
fsf-binutils-gdb-96c33f79ded357e871c43af04238dfdedebac86c.tar.bz2
Fix snafu in rust demangler recursion limit code
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/rust-demangle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libiberty/rust-demangle.c b/libiberty/rust-demangle.c
index d6daf23..8dfeeac 100644
--- a/libiberty/rust-demangle.c
+++ b/libiberty/rust-demangle.c
@@ -1234,6 +1234,7 @@ demangle_const (struct rust_demangler *rdm)
PRINT (": ");
PRINT (basic_type (ty_tag));
}
+ goto pass_return;
fail_return:
rdm->errored = 1;