2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-25 01:01:20 +08:00

* gcc.dg/pr57134.c: Use empty inline asm string literal.

From-SVN: r245865
This commit is contained in:
Jakub Jelinek 2017-03-03 11:41:49 +01:00 committed by Jakub Jelinek
parent 7278b0a266
commit 38801de50f
2 changed files with 5 additions and 1 deletions
gcc/testsuite

@ -1,3 +1,7 @@
2017-03-03 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/pr57134.c: Use empty inline asm string literal.
2017-03-03 Marek Polacek <polacek@redhat.com>
PR c++/79791

@ -18,7 +18,7 @@ static __inline__ __attribute__((always_inline)) int64_t
atomic64_read(const atomic64_t *v)
{
int64_t t;
__asm__ __volatile__("# %0, %1" : "=r"(t) : "m"(v->counter));
__asm__ __volatile__("" : "=r"(t) : "m"(v->counter));
return t;
}