From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9BB0B385AC30; Thu, 30 Nov 2023 16:27:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9BB0B385AC30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701361661; bh=k0h6HHI3Yb73zhJp2BSaSekLc05zpaOzSdLoM3ypLrA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Sjy4CtmOrZSbhIclUv0dwsDd6j38af0U7mZ7flLd37xK1N8BFOYtQuDj94EIPvrqN Ccakj9VOWZjtE6Rxl1Md2Zd1lTIi4AKWQEldz9veUbJLt4K9YOmp2OWf3BpLiqtTq6 VGaPMQH7SUFM0GeHoZA1gnxqsi2CBWa36fqO40I0= From: "mpolacek 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:27:41 +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: mpolacek 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: 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=3D110734 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #11 from Marek Polacek --- (In reply to Xi Ruoyao from comment #10) > (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 fanc= y new > > feature should be deferred into stage 1 of GCC 15. >=20 > 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. I agree. I can hardly see the need for a new and a very complicated attrib= ute.=