From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6AE153858D32; Fri, 14 Apr 2023 09:26:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6AE153858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681464383; bh=77OnjoC7uBW4PxbswwgYMDgh8nAcWmn8aU5BjC5qVO8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=W5jcElrHxpM6hbgoN8fsyroCoIY+6Uad05PDTcKdN//j+kOv8D3szecKfT/kTeYlS 8H42eQ1ctrSgIZAlH7oye84sU6V/U9bH613fs7K6BquB2SSsqL98snrPwG48ul//Ti gXU5Sycp/lFf2600+kJh9Ee4CDYwMLSJJmxEDiHY= 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:26:23 +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 #3 from Richard Biener --- (In reply to Eric Botcazou from comment #2) > > Maybe Eric can clarify which type kinds in Ada can have TYPE_USER_ALIGN= and > > _not_ a TYPE_MAIN_VARIANT without. >=20 > All of them, TYPE_USER_ALIGN is supposed to be orthogonal to type variant= s. 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. /* 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) so what's the "default" alignment?=