Branch: Tag:

2019-03-18

2019-03-18 22:27:31 by Tobias S. Josefowitz <tobij@tobij.de>

Compiler: Silence compiler warnings about do_pop()

GCC 8 got more picky about function pointer signatures, and thus isn't
really fond of us passing void do_pop(int) off as void(*)(void*), hence
we now have a wrapper do_code_cleanup() of matching signature for these
occasions.

273:    modify_stack_depth(-x);   }    + static void do_pop_cleanup(void *x) + { +  do_pop((int)(ptrdiff_t)x); + } +    static void do_pop_mark(void *UNUSED(ignored))   {    struct compilation *c = THIS_COMPILATION;
1708:    modify_stack_depth(2);    }    -  PUSH_CLEANUP_FRAME(do_pop, 5); +  PUSH_CLEANUP_FRAME(do_pop_cleanup, 5);       PUSH_STATEMENT_LABEL;    current_switch.jumptable=0;
1772:    emit0(F_CONST0);    modify_stack_depth(1);    foreach_arg_pushed: -  PUSH_CLEANUP_FRAME(do_pop, 4); +  PUSH_CLEANUP_FRAME(do_pop_cleanup, 4);       PUSH_STATEMENT_LABEL;    current_switch.jumptable=0;
1803:    BLOCK_BEGIN;       do_docode(CAR(n),0); -  PUSH_CLEANUP_FRAME(do_pop, 3); +  PUSH_CLEANUP_FRAME(do_pop_cleanup, 3);       PUSH_STATEMENT_LABEL;    current_switch.jumptable=0;