From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 184FF388215E; Thu, 30 Nov 2023 16:24:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 184FF388215E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701361456; bh=N9cmRlEYiFvvEdV0LFYxyu3XbLuaG9JbpOxps6sbkq4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=M7mDw5MVqaFER0GDkn7+e0CzQb498yXOXDLg5NqBs+94mmy9Ft3gW785Iamq3QzI5 CC0zxK0jFHj2YPO7uAZi2S0m+mUxNIyijuYQjdNb+wip/ooH4AR8sPEFfBg7/Aogfo CaLMrE6W38q/ozBlFj7SeOYwvPrlzWglXQx+n5kQ= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110734] Attributes cannot be applied to asm declarations Date: Thu, 30 Nov 2023 16:24:15 +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: 13.2.0 X-Bugzilla-Keywords: diagnostic, inline-asm X-Bugzilla-Severity: enhancement X-Bugzilla-Who: xry111 at gcc dot gnu.org 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: 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=3D110734 --- Comment #10 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #9) > (In reply to Julian Waters from comment #8) > > Created attachment 56732 [details] > > Attribute for asm declarations >=20 > Please just fix this issue (i.e. make [[gnu::no_reorder]] work) instead of > adding fancy new features. Now we are in stage 3 of GCC 14 so any fancy = new > feature should be deferred into stage 1 of GCC 15. Ok, I see you are only using no_reorder as an example. Then try to make the existing attributes work instead of adding a new one.=