From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B723E38560AB; Wed, 25 May 2022 06:39:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B723E38560AB From: "i at maskray dot me" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/77882] [Aarch64] Add 'naked' function attribute Date: Wed, 25 May 2022 06:39:40 +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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: i at maskray dot me X-Bugzilla-Status: NEW 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2022 06:39:40 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77882 Fangrui Song changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i at maskray dot me --- Comment #11 from Fangrui Song --- The number of targets supporting this attribute is large but the popular aarch64 somehow doesn't support it... I just run into a case where supporti= ng this would be nice (https://reviews.llvm.org/D126343#3536318). % grep 'naked.*function attribute,' gcc/doc/extend.texi @cindex @code{naked} function attribute, ARC @cindex @code{naked} function attribute, ARM @cindex @code{naked} function attribute, AVR @cindex @code{naked} function attribute, C-SKY @cindex @code{naked} function attribute, MCORE @cindex @code{naked} function attribute, MSP430 @cindex @code{naked} function attribute, NDS32 @cindex @code{naked} function attribute, RISC-V @cindex @code{naked} function attribute, RL78 @cindex @code{naked} function attribute, RX @cindex @code{naked} function attribute, x86=