From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 69048384FE96; Sat, 10 Dec 2022 22:30:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69048384FE96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670711407; bh=i5AD+kxduZBJJvZ6jyPz4V8pO1EwZ0ZiY86ll3af5O4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nq1BOvoecc8GzsLZ+3VcZKuT8Bupds+gLgWCymlki9245QRi3G99MnktpQBSTsPJH uEJY6AI+w4wuxo5XMH7/yLlq1NQNnA98NAYj4+Bilv0QxjBBnairArMnqmtfEWsl69 XgAt/dTyYoDD5N0eCVY6FRMYU90l90EVMh+H7So8= From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/29871] "p tail.y ++ (diff.y / 2)" command causes crash Date: Sat, 10 Dec 2022 22:30:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca 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: cf_reconfirmed_on everconfirmed bug_status 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=3D29871 Simon Marchi changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-12-10 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |simark at simark dot ca --- Comment #1 from Simon Marchi --- I can reproduce. I used this source code: typedef struct { int x; int y; } coord; int main() { coord tail, diff; return tail.x + diff.x; } --=20 You are receiving this mail because: You are on the CC list for the bug.=