On Feb 2, 2019, at 2:32 AM, Jakub Jelinek <ja...@redhat.com> wrote: > > Regardless of the PR87485 decision, I think we should fix this testcase.
> ok for trunk? Ok. > 2019-02-02 Jakub Jelinek <ja...@redhat.com> > > PR rtl-optimization/11304 > * gcc.target/i386/call-1.c (set_eax): Add "eax" clobber. > * gcc.target/i386/call-2.c: New test. > > void set_eax(int val) > { > - __asm__ __volatile__ ("mov %0, %%eax" : : "m" (val)); > + __asm__ __volatile__ ("mov %0, %%eax" : : "m" (val) : "eax"); > }