Bug report
Bug description:
This inline assembly block has an extra { at the start that is likely a typo:
|
__asm__("{movq %%rsp, %0" : "=r" (result)); |
In GCC style inline assembly syntax, { initiates an dialect selector block [1] and this case forms an unfinished section of that.
It being silently accepted by current GCC/Clang is likely just them being permissive.
[1] https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Multiple-assembler-dialects-in-asm-templates
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Bug report
Bug description:
This inline assembly block has an extra
{at the start that is likely a typo:cpython/Include/internal/pycore_pystate.h
Line 327 in f715d25
In GCC style inline assembly syntax,
{initiates an dialect selector block [1] and this case forms an unfinished section of that.It being silently accepted by current GCC/Clang is likely just them being permissive.
[1] https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Multiple-assembler-dialects-in-asm-templates
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs