diff options
author | Stan Shebs <stanshebs@google.com> | 2018-06-08 13:47:29 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-08-27 17:23:11 -0700 |
commit | 74f10c8aad08cc2e687f6f93f7ef17fd0581070e (patch) | |
tree | 1079a6f985a1e1b7818b301340bee5de1210959f /malloc | |
parent | 5884367eb9fae9030e8c9c70102a7189248f1870 (diff) | |
download | glibc-74f10c8aad08cc2e687f6f93f7ef17fd0581070e.tar.gz glibc-74f10c8aad08cc2e687f6f93f7ef17fd0581070e.tar.xz glibc-74f10c8aad08cc2e687f6f93f7ef17fd0581070e.zip |
Make pointer in tst-realloc volatile also
Diffstat (limited to 'malloc')
-rw-r--r-- | malloc/tst-realloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/tst-realloc.c b/malloc/tst-realloc.c index 1e48ad494c..33ee15b928 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; |