Workaround 'local address assignment to a global variable' CSA warning
authorIvan Maidanski <ivmai@mail.ru>
Tue, 13 Nov 2018 08:02:49 +0000 (11:02 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 13 Nov 2018 08:02:49 +0000 (11:02 +0300)
commiteb81ab1b1c543f6f37cbb46a676a9549096ecc47
treef83613daa7a7ec687f39411a244c482f0d722262
parent077a359bfcde6b24f598df6d876a51f4e58a5cd1
Workaround 'local address assignment to a global variable' CSA warning

* include/gc.h [(!__GNUC__ || __INTEL_COMPILER) && LINT2]
(GC_reachable_here): Transform ptr in the same way as COVERT_DATAFLOW()
does.
* mach_dep.c (GC_with_callee_saves_pushed): Transform the argument of
GC_noop1() by COVERT_DATAFLOW().
* misc.c [!ASM_CLEAR_CODE] (GC_clear_stack_inner): Likewise.
* misc.c (GC_call_with_stack_base, GC_call_with_gc_active): Likewise.
* pthread_support.c (GC_call_with_gc_active): Likewise.
* win32_threads.c (GC_call_with_gc_active): Likewise.
* misc.c (GC_call_with_gc_active): Transform &stacksect by
COVERT_DATAFLOW() when storing to GC_stackbottom.
* pthread_support.c (GC_call_with_gc_active): Likewise.
include/gc.h
mach_dep.c
misc.c
pthread_support.c
win32_threads.c