From: Nick Clifton Date: Mon, 4 Jul 2022 15:31:18 +0000 (+0100) Subject: Fix typo in recent code to add stack recursion limit to the Rust demangler. X-Git-Tag: basepoints/gcc-14~5746 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc968115a742d9e4674d9725ce9c2106b91b6ead;p=thirdparty%2Fgcc.git Fix typo in recent code to add stack recursion limit to the Rust demangler. libiberty * rust-demangle.c (demangle_const): Add a missing goto pass_return at the end of the function. --- diff --git a/libiberty/rust-demangle.c b/libiberty/rust-demangle.c index d6daf23af27..8dfeeac2a4f 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;