From 74f10c8aad08cc2e687f6f93f7ef17fd0581070e Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 8 Jun 2018 13:47:29 -0700 Subject: [PATCH] Make pointer in tst-realloc volatile also --- malloc/tst-realloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/malloc/tst-realloc.c b/malloc/tst-realloc.c index 1e48ad494cf..33ee15b9286 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; -- 2.47.2