This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117b. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-08-11
2262. Attributes for asm-definitionSection: 9.11 [dcl.asm] Status: C++17 Submitter: Richard Smith Date: 2016-05-04[Adopted at the February/March, 2017 meeting.]
There does not seem to be a good reason not to permit attributes on an asm declaration. This would be handy for things like:
[[vendor::asm_syntax("intel")]] asm(...);
Notes from the December, 2016 teleconference:
The omission seems to have been an oversight that should be corrected.
Proposed resolution (January, 2017):
Change 9.11 [dcl.asm] paragraph 1 as follows:
An asm declaration has the form
asm-definition:
attribute-specifier-seqoptasm ( string-literal ) ;
The asm declaration is conditionally-supported; its meaning is implementation-defined. The optional attribute-specifier-seq in an asm-definition appertains to the asm declaration. [Note: Typically it is used to pass information through the implementation to an assembler. —end note]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4