Message ID | bca00dac-9092-6cd2-f35a-2d91e8cbfdf5@suse.cz |
---|---|
State | Committed |
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C5F6D3857C6B for <patchwork@sourceware.org>; Wed, 24 Nov 2021 09:20:01 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 48A513858430 for <gcc-patches@gcc.gnu.org>; Wed, 24 Nov 2021 09:17:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 48A513858430 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 178D01FD2F; Wed, 24 Nov 2021 09:17:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1637745448; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bZyORvT1iNzLdY9cBiH4l71SMWUyq3uJNjgGyhFS5J0=; b=gDB/WYnqyDoLkD7xchl5G5kX8+xDbExrp+xzpIxOnxfQg+f21jb/l5FFMVLMjLaJcU62KU hWDYcBZQ7NVVfTgqnaAufiSZdwgF5fIGCcuxoTIgulZL0FlyC1f3bOLeMpOar5KJTpH6r9 GxU/VIkbbFOAWbiV0JId15VD+et/buk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1637745448; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bZyORvT1iNzLdY9cBiH4l71SMWUyq3uJNjgGyhFS5J0=; b=DuWe5OORyip1ppKHfwouz/1OgfYejDyyU0A2tAT1icFxr8YaAcsr4+Xjw6Zf28PCvBPncS pOJzP8ECc7da8TBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0339113EC4; Wed, 24 Nov 2021 09:17:27 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Cg5sOycDnmGLQAAAMHmgww (envelope-from <mliska@suse.cz>); Wed, 24 Nov 2021 09:17:27 +0000 Message-ID: <bca00dac-9092-6cd2-f35a-2d91e8cbfdf5@suse.cz> Date: Wed, 24 Nov 2021 10:17:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 From: =?utf-8?q?Martin_Li=C5=A1ka?= <mliska@suse.cz> Subject: [PATCH][pushed] jit: Initialize function::m_blocks in ctor To: gcc-patches@gcc.gnu.org Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> |
Series |
[pushed] jit: Initialize function::m_blocks in ctor
|
|
Commit Message
Martin Liška
Nov. 24, 2021, 9:17 a.m. UTC
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 gcc/jit/ChangeLog: * jit-playback.c (function): Initialize m_blocks vector. --- gcc/jit/jit-playback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Comments
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) {