From 8dddba4f6edec42a0d67d400dbf04fa4af6df07a Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Wed, 5 Jul 2017 12:24:37 -0500 Subject: [PATCH] Work around ORCA/C bug that affects lower optimization levels. --- sha256test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha256test.c b/sha256test.c index e1a1995..16f3e40 100644 --- a/sha256test.c +++ b/sha256test.c @@ -27,7 +27,7 @@ int main(int argc, char **argv) { long double bytes_per_sec; struct sha256_context *context, **context_hndl; - struct sha256_context context_init = {0,0,0, {0}, {0}, + static struct sha256_context context_init = {0,0,0, {0}, {0}, {0x61,0x62,0x63,0x80, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,