public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1461] Fix typo in recent code to add stack recursion limit to the Rust demangler.
@ 2022-07-04 15:32 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2022-07-04 15:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:fc968115a742d9e4674d9725ce9c2106b91b6ead

commit r13-1461-gfc968115a742d9e4674d9725ce9c2106b91b6ead
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jul 4 16:31:18 2022 +0100

    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:
---
 libiberty/rust-demangle.c | 1 +
 1 file changed, 1 insertion(+)

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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-04 15:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 15:32 [gcc r13-1461] Fix typo in recent code to add stack recursion limit to the Rust demangler Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).