about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--malloc/tst-realloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/tst-realloc.c b/malloc/tst-realloc.c
index 5643c3ae16..071d9dc71c 100644
--- a/malloc/tst-realloc.c
+++ b/malloc/tst-realloc.c
@@ -33,7 +33,7 @@ merror (const char *msg)
 static int
 do_test (void)
 {
-  void *p;
+  void *volatile p;
   unsigned char *c;
   int save, i, ok;