From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E77C33858CD1; Sat, 25 Nov 2023 08:57:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E77C33858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700902675; bh=O2N57WT4fpfeedncCa+d/+0Yb7SRy3PufcfuuLlMaHM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZnXaTD6hJgCo7RYI/eq6KDaPX6VimSlniVu9Qup73CDxLV7LxRVi4VBwOC1JWUOdC britQ6VltoX5dmZCrGftPwdeuLDs3YzHXxf0NbwVUa1Pwuc621Tr4Z155ntObGl0WO jyeuMVaFQHchWQPSJcIBXcM5onsgcXlOj0SxlpW0= From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used Date: Sat, 25 Nov 2023 08:57:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: cc 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=3D111107 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #9 from Alexander Monakov --- -mpreferred-stack-boundary=3Dn means that functions consume stack in increm= ents of 2**n. This is sufficient to ensure that once stack is aligned to that boundary, it will keep it without the need for dynamic realignment. -mincoming-stack-boundary specifies the guaranteed alignment on entry. If t= he function needs to place local variables with greater alignment requirement = on the stack, it has perform dynamic realignment.=