From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 54C493857831; Thu, 14 Mar 2024 15:56:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 54C493857831 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710431764; bh=GgPM4ggajAp3G/rWkBUnZSlvwqEd6v3iZqFtMr81TeM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mNXp6vZK4K4bmlXFpi7p7r5QYqdiBgUQy6sWH1Qt4MjpfRQo5iDlJvYpryAZ84k3U p8hloLjjgbGTaldlBdZxGyGPjNhwbgB+wRkK+mz9QuW4xRqblkcs9IkUo/G784TkwO psy4C+vKPDE7DX67G6ktYpmw4FAH8x0o1Mk+Xz/g= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug compile/31397] arrays with structs with arrays gets the wrong alignment Date: Thu, 14 Mar 2024 15:56:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: compile X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey 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=3D31397 --- Comment #6 from Sourceware Commits --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D91e15dbaf9d0= 5747fab0d33e5af7ae69c983398a commit 91e15dbaf9d05747fab0d33e5af7ae69c983398a Author: Tom Tromey Date: Wed Feb 21 08:22:01 2024 -0700 Pass alignment when using GCC_C_FE_VERSION_2 When the GCC compiler plugin responds with GCC_C_FE_VERSION_2, gdb can use the new 'finish_record_with_alignment' method. This lets gdb pass alignment information to the compiler, which in turn fixes the test case included in this patch. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31397 --=20 You are receiving this mail because: You are on the CC list for the bug.=