public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4997] Fix static chain dump. Date: Mon, 8 Nov 2021 11:57:36 +0000 (GMT) [thread overview] Message-ID: <20211108115736.D5CB73858401@sourceware.org> (raw) https://gcc.gnu.org/g:355eb60b6672220642fae853021599afaa87dfd6 commit r12-4997-g355eb60b6672220642fae853021599afaa87dfd6 Author: Martin Liska <mliska@suse.cz> Date: Mon Nov 8 12:57:08 2021 +0100 Fix static chain dump. gcc/ChangeLog: * cgraph.c (cgraph_node::dump): Dump it from decl. Diff: --- gcc/cgraph.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 8299ee92946..c67d300e7a4 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -2203,9 +2203,8 @@ cgraph_node::dump (FILE *f) fprintf (f, " %soperator_delete", DECL_IS_REPLACEABLE_OPERATOR (decl) ? "replaceable_" : ""); - function *fn = DECL_STRUCT_FUNCTION (decl); - if (fn != NULL && fn->static_chain_decl) - fprintf (f, " static_chain_decl"); + if (DECL_STATIC_CHAIN (decl)) + fprintf (f, " static_chain"); fprintf (f, "\n");
reply other threads:[~2021-11-08 11:57 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211108115736.D5CB73858401@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).