On 2/4/21 2:29 PM, Vladimir Makarov wrote:
> The following patch solves
>
>    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98096
>
> The patch is for a new GCC extension -- asm goto with output reloads.
>
> GCC splits inout operands (with constraint "+") into output and new
> matched input operands during gimplfication.  Addressing input or
> output operands by name or number is not a problem as the new input
> operands are added at the end of existing input operands.
>
> However it became a problem for labels in asm goto with output
> reloads.  Addressing labels should take into account the added matched
> input operands.  The patch solves the problem.
>
> The patch was successfully bootstrapped and tested on x86-64.
>
> Is it ok to commit into the trunk?
Yes.  I think one can easily argue the inconsistent operand numbering is
a diagnostic regression.

jeff

Reply via email to