From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2AE5C3858D32; Fri, 14 Apr 2023 09:27:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2AE5C3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681464471; bh=+L2iHyqfc8W6GRKeOfrq9DW8LdTQ6/k+GS8q1eBRIpU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mRNAukAATlKSumqqeVigevLac2kHHelMWta3aHekYQo1OR37Q7RsS4qXDalVieYZE YDSBcgqb343Wl6HrIA3s+qnYktfrGcW3UQzNK2zGsowZIJrrnWsS2WZjMt1UIfYBnt HF/H+SshrT87GjbndZ94AyuAoyNw20TMM+Jf8qj8= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/109510] [13 Regression] bootstrap with Ada broken on aarch64 Date: Fri, 14 Apr 2023 09:27:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D109510 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #3) > (In reply to Eric Botcazou from comment #2) > > > Maybe Eric can clarify which type kinds in Ada can have TYPE_USER_ALI= GN and > > > _not_ a TYPE_MAIN_VARIANT without. > >=20 > > All of them, TYPE_USER_ALIGN is supposed to be orthogonal to type varia= nts. >=20 > How do you get at the alignment the type would have when the user didn't > specify it? That's what the call ABI is supposed to look at. >=20 > /* 1 if the alignment for this type was requested by "aligned" attribute, > 0 if it is the default for this type. */ > #define TYPE_USER_ALIGN(NODE) (TYPE_CHECK (NODE)->base.u.bits.user_align) >=20 > so what's the "default" alignment? Btw, we're talking about non-aggregate types here.=