From: David Schleef Date: Mon, 3 Oct 2011 03:26:32 +0000 (-0700) Subject: orcfunctions: update generated code X-Git-Tag: orc-0.4.16~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d5a2504ddd3b83c0d7a8ccce5a7a47322283a88;p=platform%2Fupstream%2Forc.git orcfunctions: update generated code --- diff --git a/orc/orcfunctions.c b/orc/orcfunctions.c index 2933929..dbe0b7d 100644 --- a/orc/orcfunctions.c +++ b/orc/orcfunctions.c @@ -167,7 +167,7 @@ void orc_memcpy (void * ORC_RESTRICT d1, const void * ORC_RESTRICT s1, int n) { OrcExecutor _ex, *ex = &_ex; - static int p_inited = 0; + static volatile int p_inited = 0; static OrcCode *c = 0; void (*func) (OrcExecutor *); @@ -255,7 +255,7 @@ void orc_memset (void * ORC_RESTRICT d1, int p1, int n) { OrcExecutor _ex, *ex = &_ex; - static int p_inited = 0; + static volatile int p_inited = 0; static OrcCode *c = 0; void (*func) (OrcExecutor *);