]> granicus.if.org Git - gc/commit
Replace ABORTs followed by statement with ABORT_RET having dummy
authorIvan Maidanski <ivmai@mail.ru>
Mon, 23 Jan 2012 04:17:19 +0000 (08:17 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 23 Jan 2012 12:19:33 +0000 (16:19 +0400)
commit8b4a394117585927b44cd807dbd734a99f7dc7a7
treea2bb1c8d0ef2b0e89f1d42cf302f999b649f9155
parentf23154f0a8f02b9519632e4341635f7c5e866da0
Replace ABORTs followed by statement with ABORT_RET having dummy
condition (to suppress 'statement unreachable' compiler warnings
caused by abort tagged as 'no-return')

* dbg_mlc.c (GC_debug_realloc): Replace ABORT() with ABORT_RET().
* gcj_mlc.c (mark_stack_limit): Likewise.
* os_dep.c (catch_exception_raise_state,
catch_exception_raise_state_identity): Likewise.
* typd_mlc.c (GC_descr_obj_size, GC_push_complex_descriptor): Likewise.
* include/private/gc_priv.h (ABORT_RET): New macro.
* mark.c (GC_mark_from): Put ABORT_RET instead of "cannot happen"
comment.
dbg_mlc.c
gcj_mlc.c
include/private/gc_priv.h
mark.c
os_dep.c
typd_mlc.c