From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3797A384F49B; Mon, 12 Dec 2022 13:44:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3797A384F49B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670852671; bh=Ym0FJMJZwM6A6Ux97wRIZwhYHHqFYJFMSsS1yVGOB00=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Fyc3xBmpVpuITQISA9K00LpdcLAUZc51XVxosMyCKe93Io2bfFPsY0i3LECpH2y3W 3ICr+s36KhS76YcC83MpwjawsQnPaSXtGO7Wlx/BUFeqIRyKWBHN0A+GdtzIzPvicl SM/nuNzKQ61A0toJ/fv+zLynrX3rZQbkoE8U7EbE= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug rust/29859] Printing rust expressions with simple arithmetic gets wrong result Date: Mon, 12 Dec 2022 13:44:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: rust X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 13.1 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=3D29859 --- Comment #6 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D67a8c89601f6= e1947484d5de23411634fef92e68 commit 67a8c89601f6e1947484d5de23411634fef92e68 Author: Tom Tromey Date: Mon Dec 12 06:36:55 2022 -0700 Another Rust operator precedence bug My earlier patch to fix PR rust/29859 introduced a new operator precedence bug in the Rust parser. Assignment operators are right-associative in Rust. And, while this doesn't often matter, as Rust assignments always have the value (), still as a matter of principle we should get this correct. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29859 --=20 You are receiving this mail because: You are on the CC list for the bug.=