From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 427A33860C2D; Sun, 18 Feb 2024 03:06:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 427A33860C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708225578; bh=LSVhODsPe9g/YeKZiwPNuQizaKMSbeBibFHYOQK534E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A7kx0W3CdcRvhYZ4TssMj9urLlzWpuQLEiaadzu+6LvcAK9wICfn7CrvE+JugIKtX jVJZX16H+3FDQlo33VRbPfGLXPzKle3UUMnDn4iEG+S/87U4iddSsRgQCiXtgMhIi1 KHBHOrIqPgRcXC2qWUMGHfaYVdRhJPiTIFqhFxFc= 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 03:06:17 +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: RESOLVED X-Bugzilla-Resolution: MOVED 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 #8 from Andrew Pinski --- >(which is likely inherited from the default structure alignment requiremen= t on the platform) That is wrong assumption really. Since the ABI (the platform) says the alignment is type depedent and in this case the types are arrays of 7,8,9 in size of type char which definition has an alignment of 1 for the ABI. Anyways this is definitely a gdb bug in "mis"understanding the ABI.=