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

--- Comment #6 from 。 <570070308 at qq dot com> ---
A better testcase:
```c
void kkk(void **const pp)
{
    void *temp;
    __asm__ volatile (
            "movq   $0xff, %0\n\t"
            "movq   $0xff, %1"
            :"=r"(temp), "=m"(*pp)
            :
            :);
    __asm__ volatile(""::"D"(temp):);
}
```

After compile:
```assemble
kkk:
        movq   $0xff, %rdi
        movq   $0xff, (%rdi)    # abort
        ret
```

Reply via email to