diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2012-01-23 08:17:19 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2012-01-23 16:19:33 +0400 |
commit | 8b4a394117585927b44cd807dbd734a99f7dc7a7 (patch) | |
tree | a2bb1c8d0ef2b0e89f1d42cf302f999b649f9155 /gcj_mlc.c | |
parent | f23154f0a8f02b9519632e4341635f7c5e866da0 (diff) | |
download | bdwgc-8b4a394117585927b44cd807dbd734a99f7dc7a7.tar.gz |
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.
Diffstat (limited to 'gcj_mlc.c')
-rw-r--r-- | gcj_mlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ STATIC struct GC_ms_entry * GC_gcj_fake_mark_proc(word * addr GC_ATTR_UNUSED, struct GC_ms_entry * mark_stack_limit GC_ATTR_UNUSED, word env GC_ATTR_UNUSED) { - ABORT("No client gcj mark proc is specified"); + ABORT_RET("No client gcj mark proc is specified"); return mark_stack_ptr; } |