Added
Link Here
|
0 |
- |
1 |
From 7510c23c1ec53aa4a62705f0384079661342ff7b Mon Sep 17 00:00:00 2001 |
|
|
2 |
From: Martin Liska <mliska@suse.cz> |
3 |
Date: Wed, 24 Nov 2021 10:15:34 +0100 |
4 |
Subject: [PATCH 20/67] jit: Initialize function::m_blocks in ctor |
5 |
|
6 |
This resolves the problem reported here: |
7 |
https://mail.gnu.org/archive/html/bug-gnu-emacs/2021-11/msg00606.html |
8 |
https://bugzilla.opensuse.org/show_bug.cgi?id=1192951 |
9 |
|
10 |
gcc/jit/ChangeLog: |
11 |
|
12 |
* jit-playback.c (function): Initialize m_blocks vector. |
13 |
--- |
14 |
gcc/jit/jit-playback.c | 3 ++- |
15 |
1 file changed, 2 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git gcc/jit/jit-playback.c gcc/jit/jit-playback.c |
18 |
index c6136301243..50db23df159 100644 |
19 |
--- gcc/jit/jit-playback.c |
20 |
+++ gcc/jit/jit-playback.c |
21 |
@@ -1481,7 +1481,8 @@ function (context *ctxt, |
22 |
: m_ctxt(ctxt), |
23 |
m_inner_fndecl (fndecl), |
24 |
m_inner_bind_expr (NULL), |
25 |
- m_kind (kind) |
26 |
+ m_kind (kind), |
27 |
+ m_blocks () |
28 |
{ |
29 |
if (m_kind != GCC_JIT_FUNCTION_IMPORTED) |
30 |
{ |
31 |
-- |
32 |
2.35.2 |
33 |
|