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-5497] jit: Initialize function::m_blocks in ctor Date: Wed, 24 Nov 2021 10:29:25 +0000 (GMT) [thread overview] Message-ID: <20211124102925.0C48E3858425@sourceware.org> (raw) https://gcc.gnu.org/g:c2e681059bcd7f76f13029988f133858dc82c205 commit r12-5497-gc2e681059bcd7f76f13029988f133858dc82c205 Author: Martin Liska <mliska@suse.cz> Date: Wed Nov 24 10:15:34 2021 +0100 jit: Initialize function::m_blocks in ctor This resolves the problem reported here: https://mail.gnu.org/archive/html/bug-gnu-emacs/2021-11/msg00606.html https://bugzilla.opensuse.org/show_bug.cgi?id=1192951 gcc/jit/ChangeLog: * jit-playback.c (function): Initialize m_blocks vector. Diff: --- gcc/jit/jit-playback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/jit/jit-playback.c b/gcc/jit/jit-playback.c index 59399dee251..b412eae6aa8 100644 --- a/gcc/jit/jit-playback.c +++ b/gcc/jit/jit-playback.c @@ -1484,7 +1484,8 @@ function (context *ctxt, : m_ctxt(ctxt), m_inner_fndecl (fndecl), m_inner_bind_expr (NULL), - m_kind (kind) + m_kind (kind), + m_blocks () { if (m_kind != GCC_JIT_FUNCTION_IMPORTED) {
reply other threads:[~2021-11-24 10:29 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=20211124102925.0C48E3858425@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).