Fix snafu in rust demangler recursion limit code
authorNick Clifton <nickc@redhat.com>
Mon, 4 Jul 2022 15:28:02 +0000 (16:28 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 4 Jul 2022 15:28:02 +0000 (16:28 +0100)
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;