Message ID | bca00dac-9092-6cd2-f35a-2d91e8cbfdf5@suse.cz |
---|---|
State | New |
Headers | show |
Series | [pushed] jit: Initialize function::m_blocks in ctor | expand |
Martin Liška <mliska@suse.cz> writes: > 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 > > I'm going to push it as obvious. > > Martin Hi Martin, thanks for the fix! Question: that piece of code is there since 2014, should we back-port the fix as well? Best Regards Andrea
On 11/24/21 11:06, Andrea Corallo wrote: > Martin Liška <mliska@suse.cz> writes: > >> 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 >> >> I'm going to push it as obvious. >> >> Martin > > Hi Martin, > > thanks for the fix! You're welcome. > > Question: that piece of code is there since 2014, should we back-port > the fix as well? I've just pushed to to all active code streams (master, releases/gcc-{9,10,11}). Cheers, Martin > > Best Regards > > Andrea >
Martin Liška <mliska@suse.cz> writes: [...] >> Question: that piece of code is there since 2014, should we >> back-port >> the fix as well? > > I've just pushed to to all active code streams (master, releases/gcc-{9,10,11}). Wonderful, thanks again. Andrea
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) {