https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93944

Frédéric Recoules <frederic.recou...@univ-grenoble-alpes.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #2 from Frédéric Recoules 
<frederic.recou...@univ-grenoble-alpes.fr> ---
Let me disagree with you because, except if the documentation is intentionally
hard to avoid inexperienced people to use inline assembly, I would think that
omitting an "obvious" information despite the fact that somebody ask for it
seems to be against the purpose of a documentation.

That said, in C, I know 3 operators that introduce a sequence point: logical
and (&&), logical or (||) and comma (,).

The comma is particularly misleading because it is also used, at least, to
separate function parameters or compound values initializer where it don't
introduce sequence point.

Yet, an inline assembly statement uses both comas (,) and colons (:) and, as
far as I know, the latter are not used for a similar purpose in the C.
I feel it would be legitimate to ask the question of how they interact between
them since it is documented nowhere.

But hopefully, it will change, isn't it?

Disclaimer: I totally understand your point as I was thinking of it as a
function call anyway, but I hope you will forgive me for playing the devil's
advocate here.

Reply via email to