From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 52B9C385E017; Thu, 21 Dec 2023 01:10:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 52B9C385E017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1703121008; bh=/ue1nUm00Dkdtmjd3gVAc9BXc0GjbDRzkZKWKNqBldU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=byNF42Nh1WWz9sLOGSGxeRBOExNbWC643kuvmDNw+3YDpQjKRSCCeHKl97sq+IUHW bDBdcDFsZSGJEPuwXhJ3gpf0iMnqbbCLmyALVlQ1VeDEraC1tHSBZFN5nJtOV5ySje mZt4gM8KxcehsEmY9wG4pA1syLHFtfSZHg9jHvkQ= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug sim/31181] sim: cris: decode unused base_insn variable warnings Date: Thu, 21 Dec 2023 01:10:07 +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: tromey at sourceware 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: cc 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 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #6 from Tom Tromey --- I tend to think the cris one is a bug in cgen. In particular /gen-extract-case does: (if (> (length (sfmt-iflds sfmt)) 0) (string-append " CGEN_INSN_WORD insn =3D " (if (adata-integral-insn? CURRENT-ARCH) "entire_insn;\n" "base_insn;\n")) "") ... but I think in this case, because the ifield is constant, later code doesn't emit any use of 'insn'. --=20 You are receiving this mail because: You are on the CC list for the bug.=