From: Stan Shebs Date: Fri, 8 Jun 2018 20:47:29 +0000 (-0700) Subject: Make pointer in tst-realloc volatile also X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f10c8aad08cc2e687f6f93f7ef17fd0581070e;p=thirdparty%2Fglibc.git Make pointer in tst-realloc volatile also --- 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;