From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 37E1B3858417; Tue, 19 Dec 2023 10:09:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37E1B3858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702980545; bh=pGROvPUpNCF9tf8hsU4+3F2xGkL/kKv/uaTP4hcpxoc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=r1RYSPzXdQ5tyebGklOJejRTc6JgXDXlL0jsRjIjvWmTJ7zl9HyucjT7KLe+t5IJb qrJ6P5Id3loXlIVe5g+5xVaeUAdzCSe1+SHAqZXaQ1QAxx05rSrzuIwIrtoIq7P0fA vBiPzO3bFkTOo7lfVGSsSRmiv5cQnT6C8HyfU5Dc= From: "vapier at gentoo dot org" To: gdb-prs@sourceware.org Subject: [Bug sim/31181] sim: cris: decode unused base_insn variable warnings Date: Tue, 19 Dec 2023 10:09:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: sim X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vapier at gentoo dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31181 --- Comment #2 from Mike Frysinger --- i'd be inclined to agree if things were more widespread, but these 5 are the only unused variable warnings left in the sim tree at this point. i'm not super keen on adding -Wno-error=3Dxxx to makefiles because we should test t= he flag is supported by the compiler before adding it, and that makes the build logic quite a bit more complicated. also, in the process of cleaning the sim code of unused variable warnings, = it's uncovered a few actual bugs where people made thinkos/typos in the code -- = they intended to use a particular var after setting it up, but then omitted it or used a very similarly named var. that scenario can come up in the generated code logic too, although it hasn't as of yet. --=20 You are receiving this mail because: You are on the CC list for the bug.=