]> granicus.if.org Git - gc/commit
Workaround 'address of auto-variable returned' cppcheck error
authorIvan Maidanski <ivmai@mail.ru>
Tue, 30 Jan 2018 08:11:45 +0000 (11:11 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 30 Jan 2018 08:11:45 +0000 (11:11 +0300)
commitb51bdee1ff7a561a1efb8a2ec514e79be1dfec98
tree1c54633a9a2c84e4275fd08d5e3c4aa17334053c
parentd16debf3e6799477cec6387f26bb30fa513aace5
Workaround 'address of auto-variable returned' cppcheck error

* mark_rts.c [CPPCHECK] (GC_approx_sp): Use __builtin_frame_address.
* mark_rts.c (GC_approx_sp): Replace GC_GNUC_PREREQ(4,0) with
__GNUC__>=4; add TODO item.
mark_rts.c