From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#51075: 29.0.50; Uninitialised variable warning in src/term.c Date: Fri, 08 Oct 2021 11:21:11 +0100 Message-ID: <875yu7om08.fsf@tcd.ie> References: <87zgrl2idl.fsf@tcd.ie> <8335pd0z09.fsf@gnu.org> <421a1f09-6b02-0e36-3763-010a21b3f39c@cs.ucla.edu> Reply-To: "Basil L. Contovounesios" Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39655"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51075@debbugs.gnu.org, Eli Zaretskii To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 08 12:23:04 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mYn1s-000A6m-5W for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Oct 2021 12:23:04 +0200 Original-Received: from localhost ([::1]:38862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYn1q-0007jd-A6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Oct 2021 06:23:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYn0u-00072c-24 for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2021 06:22:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYn0t-0004EC-0d for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2021 06:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYn0s-0002y4-T2 for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2021 06:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Oct 2021 10:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51075 X-GNU-PR-Package: emacs Original-Received: via spool by 51075-submit@debbugs.gnu.org id=B51075.163368848011345 (code B ref 51075); Fri, 08 Oct 2021 10:22:02 +0000 Original-Received: (at 51075) by debbugs.gnu.org; 8 Oct 2021 10:21:20 +0000 Original-Received: from localhost ([127.0.0.1]:49286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYn0C-0002wv-Hg for submit@debbugs.gnu.org; Fri, 08 Oct 2021 06:21:20 -0400 Original-Received: from mail-wr1-f44.google.com ([209.85.221.44]:33727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYn0A-0002wh-AH for 51075@debbugs.gnu.org; Fri, 08 Oct 2021 06:21:18 -0400 Original-Received: by mail-wr1-f44.google.com with SMTP id m22so28327011wrb.0 for <51075@debbugs.gnu.org>; Fri, 08 Oct 2021 03:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VeBCANOqxoajQ4SPyDG324ArSF0xIaNMQoX3c7Np7j0=; b=GXgXgJR+HBSu8zz8DVLQxQwStgfCWK4NA9+hB33GQF9Er6h25YwOqn53o9WfkzSdD0 lIbZdym2OB0DjYdu+f/Hvyy00qozREwpWO0uDGqKH8IyAej/NyyJtYqVdaDOBrXBBhse c1vHgJDevFVoxfugtaGzaPtbceHwolJrfMQPoUYGZL7zJf+AamGDERv1dxtSsdf00mLH PIO5Hms4vn8g0wFK2EABFau30IJG5fHtvgLc6BKIucXp/ydRHBowfomOFNJtdcasXPj6 X7EzoFUPXs4j+h6W3ymaW8bi/NXRS7OzAihzilrNjuenAjspg+jKgYSsibe6H65zY4UM nVCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=VeBCANOqxoajQ4SPyDG324ArSF0xIaNMQoX3c7Np7j0=; b=TpzEaR6qZtols0npQxM70KQYQxdBT56z6VGW4p9rH3jQdivGRMrR2nNOpRu6mJpdap zEMEOPJ7yZQIu6XenfMC9CWVE2aGZ/nMM9mXYDUELMitY+5oU5+lMKRJO5IbGYw13JpY JWeJpTMKyf2DmhvqVLgCGDxlZ21oMDg0fT3wEGy6a91s6NUICGK3EKTpUbUvDDyLh4Ux c9WkzMZy8ohnyeaCdComFut9PLwWU9TpD7ZUe0++0ArEx8FUIZyF6mZ9e3VGO6T6sg0w pRZotbivNfN1PZfhyDfJXdbzvluxP/dr6+PM+yvIu+Ci0hEEPVmlA4Jyv1+qBJUgLWpe qQpw== X-Gm-Message-State: AOAM532AAJWXeeZnJfb2uMnKG35A+wsmYS+iivdYDhscdU6ydOvxD/mB agS4wmRdrn1fd8RBUR22D1Ct5ASczoaZbQ== X-Google-Smtp-Source: ABdhPJw0F+SHwwa3lCXvS+L3MQ2UJTMeOVfjpkEv8KaUc6x0f61YWs4kwdgcHlZacJSCqdPSd2f2PA== X-Received: by 2002:adf:9787:: with SMTP id s7mr2831863wrb.191.1633688472762; Fri, 08 Oct 2021 03:21:12 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:f410:82e8:3a21:eedf]) by smtp.gmail.com with ESMTPSA id c77sm2184317wme.48.2021.10.08.03.21.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 03:21:12 -0700 (PDT) In-Reply-To: <421a1f09-6b02-0e36-3763-010a21b3f39c@cs.ucla.edu> (Paul Eggert's message of "Thu, 7 Oct 2021 13:13:33 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216701 Archived-At: Paul Eggert [2021-10-07 13:13 -0700] wrote: > On 10/7/21 06:01, Eli Zaretskii wrote: > >> It's a bogus warning. It might be worth reporting to the GCC folks >> (unless GCC 11 already fixed that). > > Yes, I believed it's fixed in GCC 11. GCC 11.2.1 20210728 (Red Hat 11.2.1-1) > does not warn me about it. > >> Feel free to assign some value to gstring in the 'else' clause, to >> shut up GCC in this case. > > I installed into the emacs-28 branch the attached, which fixes it in a different > way to make it a bit clearer to the reader that we're pacifying an inadequate > compiler rather than executing odd code for an unknown reason. > > There are a handful of other bogus warnings with GCC 11.2.1, which I'll try to > get around to pacifying (I hope before GCC 12 comes out :-). Thanks! -- Basil