summaryrefslogtreecommitdiff
path: root/test/tls/tst-tlsmod18a.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tls/tst-tlsmod18a.c')
-rw-r--r--test/tls/tst-tlsmod18a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tls/tst-tlsmod18a.c b/test/tls/tst-tlsmod18a.c
index 9aba607ed..e0ae65a88 100644
--- a/test/tls/tst-tlsmod18a.c
+++ b/test/tls/tst-tlsmod18a.c
@@ -11,7 +11,7 @@ test (void)
{
int *p = &var;
/* GCC assumes &var is never NULL, add optimization barrier. */
- __asm __volatile ("" : "+r" (p));
+ __asm__ __volatile__ ("" : "+r" (p));
if (p == NULL || *p != 4)
{
printf ("fail %d %p\n", N, p);