From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD7F53858C30; Fri, 1 Dec 2023 06:56:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD7F53858C30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701413779; bh=wR4U2BkoYVTmJgqRDUoQRVcMSdpR/bcZpKTytFVr/lo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TKp0mDxMXsiYBdCo0hbaitXA5IypJrxdfglpvhX9mGSYbBA0C0Tx8F8lVVeVAmguo 6NWGGQhvi66dk30ue7hQUKxPUK0oCLgw8Rj2sNJyLxLSghQMONRG2xpWBFxqU8lqpC 1iXN55Xn7SDz3xV6SZ46c2VByOfQDPOF2a1ppX0U= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110734] Attributes cannot be applied to asm declaration Date: Fri, 01 Dec 2023 06:56: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: 13.2.0 X-Bugzilla-Keywords: diagnostic, inline-asm X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #19 from Jakub Jelinek --- Attributes have been allowed on asm in C++ only since 2017's https://cplusplus.github.io/CWG/issues/2262.html which we apparently don't implement. See https://gcc.gnu.org/projects/cxx-dr-status.html It is not clear whether that change has been effectively applied as a DR and thus whether it should apply to earlier standards as well (guess starting w= ith C++11) or not.=