From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id iNAwEtMTT2KxbwAAWB0awg (envelope-from ) for ; Thu, 07 Apr 2022 12:39:47 -0400 Received: by simark.ca (Postfix, from userid 112) id 4881B1F344; Thu, 7 Apr 2022 12:39:47 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id EF4311E787 for ; Thu, 7 Apr 2022 12:39:46 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 732F93857C49 for ; Thu, 7 Apr 2022 16:39:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 732F93857C49 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1649349586; bh=UAoqVWqwiXOCRom9Fx1ueKpzWlMNMS/ZvUt5CD1d7J0=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=FAIaHiU6i6k1zki3CEzqMHnQfmkm9/o4qAXlfqIou6UTrweDXXZi97vsT1Du6cVYu h3q1oMGSxFPMO04kOOZRY9GUB10DOvWkLfK1pen59djp8JHBk2AF51FyNT113d47If 6VMw15bqgg1ptMuCQ+L5fsxw0qSjcnGyvZYLQLZM= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 0864D3858407 for ; Thu, 7 Apr 2022 16:39:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0864D3858407 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncVAL-0007YG-0F; Thu, 07 Apr 2022 12:39:25 -0400 Received: from [87.69.77.57] (port=4489 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncVAK-0003fz-DC; Thu, 07 Apr 2022 12:39:24 -0400 Date: Thu, 07 Apr 2022 19:39:34 +0300 Message-Id: <83o81cc0ft.fsf@gnu.org> To: Tom Tromey In-Reply-To: <87a6cwan3a.fsf@tromey.com> (message from Tom Tromey on Thu, 07 Apr 2022 10:13:13 -0600) Subject: Re: GDB 12.0.90 available for testing References: <20220320055815.2A90FA4D6C@takamaka.home> <83sfr4a93r.fsf@gnu.org> <83k0cg9dki.fsf@gnu.org> <87a6cwan3a.fsf@tromey.com> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: brobecker@adacore.com, gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > From: Tom Tromey > Cc: Simon Marchi , Eli Zaretskii , > brobecker@adacore.com > Date: Thu, 07 Apr 2022 10:13:13 -0600 > > >> > target/waitstatus.h: In function 'void stop_all_threads()': > >> > target/waitstatus.h:175:13: warning: 'ws.target_waitstatus::m_value' may be used uninitialized in this function [-Wmaybe-uninitialized] > >> > 175 | m_value = other.m_value; > >> > | ~~~~~~~~^~~~~~~~~~~~~~~ > > Eli> Maybe we should initialize ws::m_value, just to shut up the compiler? > Eli> Because GDB 12 compiles cleanly other than this warning. > > I have a simple patch for this that I will send in a bit. > > We patched around this same issue in gdb::optional and in other spots, > so doing it here seems fine as well. Thanks.