aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-08-02 17:45:40 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:09 +0100
commit8765826465e6103d419808f78e8fc3f97218e9a6 (patch)
tree069227b34cf10834870c4bace58d25ea4936d9c3 /tests
parentb7ca74577b56190954eb6eeda8c22996b877f3c5 (diff)
downloadtinycc-8765826465e6103d419808f78e8fc3f97218e9a6.tar.gz
tinycc-8765826465e6103d419808f78e8fc3f97218e9a6.tar.bz2
inline-asm: Accept "flags" clobber
Diffstat (limited to 'tests')
-rw-r--r--tests/tcctest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index 6218983..3885b54 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -2566,7 +2566,7 @@ static __inline__ void sigaddset1(unsigned int *set, int _sig)
static __inline__ void sigdelset1(unsigned int *set, int _sig)
{
- asm("btrl %1,%0" : "=m"(*set) : "Ir"(_sig - 1) : "cc");
+ asm("btrl %1,%0" : "=m"(*set) : "Ir"(_sig - 1) : "cc", "flags");
}
static __inline__ __const__ unsigned int swab32(unsigned int x)