From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1D79A386075C; Sun, 18 Feb 2024 02:35:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D79A386075C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708223740; bh=Xrmp234n135yN7YnO5gDIJXEN2PjgN32gnELffLyzng=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Wy4AD3LuLamLxudaK829Q+gvzLsW/eBiliRTR4DDLXJy1jHZkCxCKMgYViPjFSeUg OI2ll0U9Ccqfb8hBOjqwyUeg/6OuEpr8mapM8VsqtgvmygbI8ELSmOt7K4cXsH0G8d g6lR5a1u+rqS2vH721zPWvzKy6AyU7daxIRLw320= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libcc1/113977] debug info for alignment of structure is unspecified Date: Sun, 18 Feb 2024 02:35:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libcc1 X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113977 --- Comment #3 from Andrew Pinski --- For me with the trunk GCC we get: ``` (gdb) expr z[0]._[0] =3D 1 gdb command line:1:1: error: size of array element is not a multiple of its alignment Compilation failed. (gdb) expr y[0]._[0] =3D 1 (gdb) expr x[0]._[0] =3D 1 gdb command line:1:1: error: alignment of array elements is greater than element size Compilation failed. ``` I am starting to think this is a gdb issue ...=