[Bug inline-asm/93944] Undocumented side effect in operand evaluations
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 26 13:16:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93944
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The way sequence points are defined in C, it needs to be explicitly said where
there is a sequence point, and as we don't say anything for the inline asm
operands, that means there is no sequence point in between them.
It really doesn't matter what token is used to separate the operands, in C/C++
it is the comma operator which has a sequence point in between the two
expression.
More information about the Gcc-bugs
mailing list