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

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Also fails with double instead of long double argument:

void f (void)
{
  float _Complex z = 0;
  double v;
  asm volatile ("" : "=t" (v) : "0" (z));
}

but when SSE registers are involved '"=x" (v)' it errors out cleanly with:

_.c: In function ‘f’:
_.c:5:3: error: inconsistent operand constraints in an ‘asm’
    5 |   asm volatile ("" : "=x" (v) : "0" (z));

Reply via email to