From 34d02631e71209b12abb69d0114601027e485bc9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 10 Jan 2021 16:32:47 +0900 Subject: dtoa.c: constified clang seems to locate never modified local data in the const segment implicitly. --- missing/dtoa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'missing') diff --git a/missing/dtoa.c b/missing/dtoa.c index 6d9108710c..6c0d2b8831 100644 --- a/missing/dtoa.c +++ b/missing/dtoa.c @@ -842,7 +842,7 @@ pow5mult(Bigint *b, int k) { Bigint *b1, *p5, *p51; int i; - static int p05[3] = { 5, 25, 125 }; + static const int p05[3] = { 5, 25, 125 }; if ((i = k & 3) != 0) b = multadd(b, p05[i-1], 0); -- cgit v1.2.3