]> granicus.if.org Git - gc/commit
Fix 'arg parameter might be clobbered by setjmp' compiler warning
authorIvan Maidanski <ivmai@mail.ru>
Fri, 1 Jul 2016 07:41:16 +0000 (10:41 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 30 Jul 2016 08:09:25 +0000 (11:09 +0300)
commit8c87595187e33458cf1d0a9b343cab32e0577301
tree91a1257ba5ba816bd6051e2be6ef787391152f0e
parentdfa67c2129be017ad2c226926a027e73a34cbf12
Fix 'arg parameter might be clobbered by setjmp' compiler warning
(Apply squashed commit of 8ffc3db and 65b50c0 from 'master' branch.)

* mach_dep.c (GC_with_callee_saves_pushed): Make "arg" parameter
volatile (to prevent it from potential clobbering).
* include/private/gc_priv.h (GC_with_callee_saves_pushed): Add
volatile for arg (to match the function definition).
include/private/gc_priv.h
mach_dep.c