From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F89E385828B; Tue, 9 Apr 2024 04:45:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F89E385828B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712637919; bh=OX+V32VX2/6Exuc1WijlmtMXFSl1R47Q1JGGfWuGx6Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NQlFyYtAZtzvJAUtExCAPWNlx/qJdj5EIQ/PMAbYkyxGRalEvp1tFMPdkIbOu0lb8 VW6IoSWvA6adsZnO7u5yMQgiUIlzcwPlrN8fwy+ngkIJE6HbMaeMJRLjPrKi6pSITI XpR5v1/hi4pc5jT6aBUyGr6hAeIuEyW/34n3HjVw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/56335] Optimization assumes __attribute__((aligned(N))) always works. Date: Tue, 09 Apr 2024 04:45:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also resolution bug_status target_milestone 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=3D56335 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D87795, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D89357 Resolution|--- |FIXED Status|NEW |RESOLVED Target Milestone|--- |9.3 --- Comment #3 from Andrew Pinski --- > .comm a,512,134217728 The linker should fail to link if it can't link to 128 MB here. >From JSM's email: > MAX_OFILE_ALIGNMENT (presently just a warning), That was PR 87795 and was fixed in r9-3979-g4c7bd36194e13c . > an object with automatic storage duration has an alignment greater than M= AX_STACK_ALIGNMENT See PR 89357 which removed the constraint for C++ _Alignas as the middle-end supports huge alignments now. So closing as fixed for GCC 9.3.0.=