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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The GCC manual
(https://gcc.gnu.org/onlinedocs/gcc-11.2.0/gcc/Extended-Asm.html#Goto-Labels)
is now clear here:
To reference a label in the assembler template, prefix it with ‘%l’ (lowercase
‘L’) followed by its (zero-based) position in GotoLabels plus the number of
input and output operands. Output operand with constraint modifier ‘+’ is
counted as two operands because it is considered as one output and one input
operand. For example, if the asm has three inputs, one output operand with
constraint modifier ‘+’ and one output operand with constraint modifier ‘=’ and
references two labels, refer to the first label as ‘%l6’ and the second as
‘%l7’).

And has been clear since GCC 11.1.0.
This is a dup of bug 98096 which changed the manual in Feburary.

*** This bug has been marked as a duplicate of bug 98096 ***

Reply via email to