public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r9-9842] jit: Initialize function::m_blocks in ctor
@ 2021-11-24 10:31 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-11-24 10:31 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:c7691a434aea1018f03f0e80d187d51f1e251e8f
commit r9-9842-gc7691a434aea1018f03f0e80d187d51f1e251e8f
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 b74495c58b2..ebdb56cbc6d 100644
--- a/gcc/jit/jit-playback.c
+++ b/gcc/jit/jit-playback.c
@@ -1287,7 +1287,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:31 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:31 [gcc r9-9842] 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).