public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-10292] jit: Initialize function::m_blocks in ctor
@ 2021-11-24 10:30 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-11-24 10:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:430c366f18986e732928299b4727850bdf51d962

commit r10-10292-g430c366f18986e732928299b4727850bdf51d962
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.
    
    (cherry picked from commit c2e681059bcd7f76f13029988f133858dc82c205)

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 d2c8bb4c154..0d21251c9ab 100644
--- a/gcc/jit/jit-playback.c
+++ b/gcc/jit/jit-playback.c
@@ -1357,7 +1357,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)
     {


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

only message in thread, other threads:[~2021-11-24 10:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24 10:30 [gcc r10-10292] jit: Initialize function::m_blocks in ctor Martin Liska

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).