]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix typo in recent code to add stack recursion limit to the Rust demangler.
authorNick Clifton <nickc@redhat.com>
Mon, 4 Jul 2022 15:31:18 +0000 (16:31 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 4 Jul 2022 15:31:18 +0000 (16:31 +0100)
libiberty
* rust-demangle.c (demangle_const): Add a missing goto pass_return
at the end of the function.

libiberty/rust-demangle.c

index d6daf23af27a80ae0dbad5f04c43e86a0ecce60c..8dfeeac2a4fe44a82da54a2e4d9327e9b5b1c257 100644 (file)
@@ -1234,6 +1234,7 @@ demangle_const (struct rust_demangler *rdm)
       PRINT (": ");
       PRINT (basic_type (ty_tag));
     }
+  goto pass_return;
 
  fail_return:
   rdm->errored = 1;