From bbce31552ec7a9f4ac8a92f31d95d4a4c1be66d0 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Mon, 11 Jul 2016 16:42:18 +0200 Subject: inline asm: accept concatenated strings in constraints This really should be handled implicitly in the preprocessor, but for now this is enough. --- tests/tcctest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/tcctest.c b/tests/tcctest.c index bb6e741..a6878db 100644 --- a/tests/tcctest.c +++ b/tests/tcctest.c @@ -2544,7 +2544,7 @@ static __inline__ __const__ unsigned int swab32(unsigned int x) __asm__("xchgb %b0,%h0\n\t" /* swap lower bytes */ "rorl $16,%0\n\t" /* swap words */ "xchgb %b0,%h0" /* swap higher bytes */ - :"=q" (x) + :"=" "q" (x) : "0" (x)); return x; } -- cgit v1.3.1