/luavela/src/dump/uj_dump_ir.c:294:13: error: function 'dump_ir_func_args' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void dump_ir_func_args(FILE *out, const GCtrace *trace, IRRef ref)
^
/luavela/src/dump/uj_dump_ir.c:294:13: note: example recursive call chain, starting from function 'dump_ir_func_args'
/luavela/src/dump/uj_dump_ir.c:309:2: note: Frame #1: function 'dump_ir_func_args' calls function 'dump_ir_func_args' here:
dump_ir_func_args(out, trace, ins->op1);
^
/luavela/src/dump/uj_dump_ir.c:309:2: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/frontend/lj_bcwrite.c:206:13: error: function 'bcwrite_proto' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void bcwrite_proto(BCWriteCtx *ctx, GCproto *pt)
^
/luavela/src/frontend/lj_bcwrite.c:206:13: note: example recursive call chain, starting from function 'bcwrite_proto'
/luavela/src/frontend/lj_bcwrite.c:220:9: note: Frame #1: function 'bcwrite_proto' calls function 'bcwrite_proto' here:
bcwrite_proto(ctx, gco2pt(o));
^
/luavela/src/frontend/lj_bcwrite.c:220:9: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/frontend/lj_lex.c:62:24: error: function 'save' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static LJ_AINLINE void save(LexState *ls, int c) {
^
/luavela/src/frontend/lj_lex.c:458:20: note: example recursive call chain, starting from function 'lex_error_tok_str'
static const char *lex_error_tok_str(LexState *ls, LexToken token)
^
/luavela/src/frontend/lj_lex.c:465:5: note: Frame #1: function 'lex_error_tok_str' calls function 'save' here:
save(ls, '\0');
^
/luavela/src/frontend/lj_lex.c:66:5: note: Frame #2: function 'save' calls function 'lj_lex_error_' here:
lj_lex_error(ls, 0, UJ_ERR_XELEM, NULL);
^
/luavela/src/frontend/lj_lex.h:107:3: note: expanded from macro 'lj_lex_error'
lj_lex_error_((ls), (token), uj_errmsg(em), __VA_ARGS__)
^
/luavela/src/frontend/lj_lex.c:488:13: note: Frame #3: function 'lj_lex_error_' calls function 'lex_error_tok_str' here:
tok_str = lex_error_tok_str(ls, token);
^
/luavela/src/frontend/lj_lex.c:488:13: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/frontend/lj_lex.c:458:20: error: function 'lex_error_tok_str' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static const char *lex_error_tok_str(LexState *ls, LexToken token)
^
/luavela/src/frontend/lj_lex.c:480:6: error: function 'lj_lex_error_' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
void lj_lex_error_(LexState *ls, LexToken token, const char *em, ...)
^
/luavela/src/frontend/lj_parse.c:1053:15: error: function 'var_lookup_' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static size_t var_lookup_(FuncState *fs, GCstr *name, ExpDesc *e, int first)
^
/luavela/src/frontend/lj_parse.c:1053:15: note: example recursive call chain, starting from function 'var_lookup_'
/luavela/src/frontend/lj_parse.c:1063:21: note: Frame #1: function 'var_lookup_' calls function 'var_lookup_' here:
size_t vidx = var_lookup_(fs->prev, name, e, 0); /* Var in outer func? */
^
/luavela/src/frontend/lj_parse.c:1063:21: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/frontend/lj_parse.c:1609:13: error: function 'expr_bracket' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void expr_bracket(LexState *ls, ExpDesc *v)
^
/luavela/src/frontend/lj_parse.c:2044:13: note: example recursive call chain, starting from function 'expr'
static void expr(LexState *ls, ExpDesc *v)
^
/luavela/src/frontend/lj_parse.c:2046:3: note: Frame #1: function 'expr' calls function 'expr_binop' here:
expr_binop(ls, v, 0); /* Priority 0: parse whole expression. */
^
/luavela/src/frontend/lj_parse.c:2027:3: note: Frame #2: function 'expr_binop' calls function 'expr_unop' here:
expr_unop(ls, v);
^
/luavela/src/frontend/lj_parse.c:2014:5: note: Frame #3: function 'expr_unop' calls function 'expr_simple' here:
expr_simple(ls, v);
^
/luavela/src/frontend/lj_parse.c:1941:5: note: Frame #4: function 'expr_simple' calls function 'expr_table' here:
expr_table(ls, v);
^
/luavela/src/frontend/lj_parse.c:1649:7: note: Frame #5: function 'expr_table' calls function 'expr_bracket' here:
expr_bracket(ls, &key); /* Already calls expr_toval. */
^
/luavela/src/frontend/lj_parse.c:1612:3: note: Frame #6: function 'expr_bracket' calls function 'expr' here:
expr(ls, v);
^
/luavela/src/frontend/lj_parse.c:1612:3: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/frontend/lj_parse.c:1631:13: error: function 'expr_table' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void expr_table(LexState *ls, ExpDesc *e)
^
/luavela/src/frontend/lj_parse.c:1778:13: error: function 'parse_body' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_body(LexState *ls, ExpDesc *e, int needself, BCLine line)
^
/luavela/src/frontend/lj_parse.c:1812:14: error: function 'expr_list' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static BCReg expr_list(LexState *ls, ExpDesc *v)
^
/luavela/src/frontend/lj_parse.c:1825:13: error: function 'parse_args' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_args(LexState *ls, ExpDesc *e)
^
/luavela/src/frontend/lj_parse.c:1871:13: error: function 'expr_primary' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void expr_primary(LexState *ls, ExpDesc *v)
^
/luavela/src/frontend/lj_parse.c:1910:13: error: function 'expr_simple' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void expr_simple(LexState *ls, ExpDesc *v)
^
/luavela/src/frontend/lj_parse.c:2004:13: error: function 'expr_unop' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void expr_unop(LexState *ls, ExpDesc *v)
^
/luavela/src/frontend/lj_parse.c:2023:15: error: function 'expr_binop' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static BinOpr expr_binop(LexState *ls, ExpDesc *v, uint32_t limit)
^
/luavela/src/frontend/lj_parse.c:2044:13: error: function 'expr' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void expr(LexState *ls, ExpDesc *v)
^
/luavela/src/frontend/lj_parse.c:2050:13: error: function 'expr_next' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void expr_next(LexState *ls)
^
/luavela/src/frontend/lj_parse.c:2058:14: error: function 'expr_cond' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static BCPos expr_cond(LexState *ls)
^
/luavela/src/frontend/lj_parse.c:2124:13: error: function 'parse_assignment' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_assignment(LexState *ls, LHSVarList *lh, BCReg nvars)
^
/luavela/src/frontend/lj_parse.c:2161:13: error: function 'parse_call_assign' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_call_assign(LexState *ls)
^
/luavela/src/frontend/lj_parse.c:2175:13: error: function 'parse_local' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_local(LexState *ls)
^
/luavela/src/frontend/lj_parse.c:2209:13: error: function 'parse_func' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_func(LexState *ls, BCLine line)
^
/luavela/src/frontend/lj_parse.c:2243:13: error: function 'parse_return' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_return(LexState *ls)
^
/luavela/src/frontend/lj_parse.c:2302:13: error: function 'parse_label' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_label(LexState *ls)
^
/luavela/src/frontend/lj_parse.c:2302:13: note: example recursive call chain, starting from function 'parse_label'
/luavela/src/frontend/lj_parse.c:2319:7: note: Frame #1: function 'parse_label' calls function 'parse_label' here:
parse_label(ls);
^
/luavela/src/frontend/lj_parse.c:2319:7: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/frontend/lj_parse.c:2336:13: error: function 'parse_block' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_block(LexState *ls)
^
/luavela/src/frontend/lj_parse.c:2346:13: error: function 'parse_while' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_while(LexState *ls, BCLine line)
^
/luavela/src/frontend/lj_parse.c:2367:13: error: function 'parse_repeat' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_repeat(LexState *ls, BCLine line)
^
/luavela/src/frontend/lj_parse.c:2399:13: error: function 'parse_for_num' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_for_num(LexState *ls, GCstr *varname, BCLine line)
^
/luavela/src/frontend/lj_parse.c:2471:13: error: function 'parse_for_iter' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_for_iter(LexState *ls, GCstr *indexname)
^
/luavela/src/frontend/lj_parse.c:2514:13: error: function 'parse_for' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_for(LexState *ls, BCLine line)
^
/luavela/src/frontend/lj_parse.c:2533:14: error: function 'parse_then' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static BCPos parse_then(LexState *ls)
^
/luavela/src/frontend/lj_parse.c:2544:13: error: function 'parse_if' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_if(LexState *ls, BCLine line)
^
/luavela/src/frontend/lj_parse.c:2570:12: error: function 'parse_stmt' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static int parse_stmt(LexState *ls)
^
/luavela/src/frontend/lj_parse.c:2627:13: error: function 'parse_chunk' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void parse_chunk(LexState *ls)
^
/luavela/src/jit/lj_snap.c:605:13: error: function 'snap_restoreval' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void snap_restoreval(jit_State *J, GCtrace *T, ExitState *ex,
^
/luavela/src/jit/lj_snap.c:605:13: note: example recursive call chain, starting from function 'snap_restoreval'
/luavela/src/jit/lj_snap.c:643:7: note: Frame #1: function 'snap_restoreval' calls function 'snap_restoreval' here:
snap_restoreval(J, T, ex, snapno, rfilt, ir->op1, o, low);
^
/luavela/src/jit/lj_snap.c:643:7: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/jit/lj_snap.c:666:13: error: function 'snap_restoredata' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void snap_restoredata(GCtrace *T, ExitState *ex,
^
/luavela/src/jit/lj_snap.c:666:13: note: example recursive call chain, starting from function 'snap_restoredata'
/luavela/src/jit/lj_snap.c:693:9: note: Frame #1: function 'snap_restoredata' calls function 'snap_restoredata' here:
snap_restoredata(T, ex, snapno, rfilt, ir->op1, dst, 4);
^
/luavela/src/jit/lj_snap.c:693:9: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/jit/opt/narrow.c:241:13: error: function 'narrow_stripov_backprop' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void narrow_stripov_backprop(NarrowConv *nc, IRRef ref, int depth)
^
/luavela/src/jit/opt/narrow.c:241:13: note: example recursive call chain, starting from function 'narrow_stripov_backprop'
/luavela/src/jit/opt/narrow.c:252:7: note: Frame #1: function 'narrow_stripov_backprop' calls function 'narrow_stripov_backprop' here:
narrow_stripov_backprop(nc, ir->op1, depth);
^
/luavela/src/jit/opt/narrow.c:252:7: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/jit/opt/narrow.c:267:12: error: function 'narrow_conv_backprop' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static int narrow_conv_backprop(NarrowConv *nc, IRRef ref, int depth)
^
/luavela/src/jit/opt/narrow.c:267:12: note: example recursive call chain, starting from function 'narrow_conv_backprop'
/luavela/src/jit/opt/narrow.c:344:19: note: Frame #1: function 'narrow_conv_backprop' calls function 'narrow_conv_backprop' here:
int count = narrow_conv_backprop(nc, ir->op1, depth);
^
/luavela/src/jit/opt/narrow.c:344:19: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/jit/opt/narrow.c:433:13: error: function 'narrow_stripov' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static TRef narrow_stripov(jit_State *J, TRef tr, int lastop, IRRef mode)
^
/luavela/src/jit/opt/narrow.c:433:13: note: example recursive call chain, starting from function 'narrow_stripov'
/luavela/src/jit/opt/narrow.c:444:13: note: Frame #1: function 'narrow_stripov' calls function 'narrow_stripov' here:
op1 = narrow_stripov(J, op1, lastop, mode);
^
/luavela/src/jit/opt/narrow.c:444:13: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/jit/opt/sink.c:40:12: error: function 'sink_phidep' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static int sink_phidep(jit_State *J, IRRef ref)
^
/luavela/src/jit/opt/sink.c:40:12: note: example recursive call chain, starting from function 'sink_phidep'
/luavela/src/jit/opt/sink.c:44:31: note: Frame #1: function 'sink_phidep' calls function 'sink_phidep' here:
if (ir->op1 >= REF_FIRST && sink_phidep(J, ir->op1)) return 1;
^
/luavela/src/jit/opt/sink.c:44:31: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/lib/table.c:189:13: error: function 'auxsort' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void auxsort(lua_State *L, int l, int u)
^
/luavela/src/lib/table.c:189:13: note: example recursive call chain, starting from function 'auxsort'
/luavela/src/lib/table.c:248:5: note: Frame #1: function 'auxsort' calls function 'auxsort' here:
auxsort(L, j, i); /* call recursively the smaller one */
^
/luavela/src/lib/table.c:248:5: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/lj_debug.c:171:13: error: function 'lj_debug_slotname' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
const char *lj_debug_slotname(GCproto *pt, const BCIns *ip, BCReg slot,
^
/luavela/src/lj_debug.c:171:13: note: example recursive call chain, starting from function 'lj_debug_slotname'
/luavela/src/lj_debug.c:191:14: note: Frame #1: function 'lj_debug_slotname' calls function 'lj_debug_slotname' here:
return lj_debug_slotname(pt, ip, slot, name);
^
/luavela/src/lj_debug.c:191:14: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/lj_gc.c:65:13: error: function 'gc_mark' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void gc_mark(global_State *g, GCobj *o) {
^
/luavela/src/lj_gc.c:65:13: note: example recursive call chain, starting from function 'gc_mark'
/luavela/src/lj_gc.c:73:15: note: Frame #1: function 'gc_mark' calls function 'gc_mark' here:
if (mt) { gc_markobj(g, mt); }
^
/luavela/src/lj_gc.c:59:30: note: expanded from macro 'gc_markobj'
{ if (iswhite(obj2gco(o))) gc_mark(g, obj2gco(o)); }
^
/luavela/src/lj_gc.c:73:15: note: ... which was the starting point of the recursive call chain; there may be other cycles
if (mt) { gc_markobj(g, mt); }
^
/luavela/src/lj_gc.c:59:30: note: expanded from macro 'gc_markobj'
{ if (iswhite(obj2gco(o))) gc_mark(g, obj2gco(o)); }
^
/luavela/src/lj_gc.c:463:16: error: function 'gc_sweep' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static GCobj** gc_sweep(global_State *g, GCobj **p, uint32_t lim) {
^
/luavela/src/lj_gc.c:463:16: note: example recursive call chain, starting from function 'gc_sweep'
/luavela/src/lj_gc.c:474:7: note: Frame #1: function 'gc_sweep' calls function 'gc_sweep' here:
gc_fullsweep(g, &gco2th(o)->openupval);
^
/luavela/src/lj_gc.c:455:33: note: expanded from macro 'gc_fullsweep'
#define gc_fullsweep(g, p) gc_sweep(g, (p), LJ_MAX_MEM)
^
/luavela/src/lj_gc.c:474:7: note: ... which was the starting point of the recursive call chain; there may be other cycles
gc_fullsweep(g, &gco2th(o)->openupval);
^
/luavela/src/lj_gc.c:455:33: note: expanded from macro 'gc_fullsweep'
#define gc_fullsweep(g, p) gc_sweep(g, (p), LJ_MAX_MEM)
^
/luavela/src/luajit.c:37:13: error: function 'luajit_setptmode_all' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void luajit_setptmode_all(struct global_State *g, struct GCproto *pt,
^
/luavela/src/luajit.c:37:13: note: example recursive call chain, starting from function 'luajit_setptmode_all'
/luavela/src/luajit.c:47:4: note: Frame #1: function 'luajit_setptmode_all' calls function 'luajit_setptmode_all' here:
luajit_setptmode_all(g, gco2pt(o), mode);
^
/luavela/src/luajit.c:47:4: note: ... which was the starting point of the recursive call chain; there may be other cycles
/luavela/src/profile/uj_iprof.c:151:13: error: function 'iprof_entity_finalize' is within a recursive call chain [misc-no-recursion,-warnings-as-errors]
static void iprof_entity_finalize(lua_State *L, GCtab *entity)
^
/luavela/src/profile/uj_iprof.c:151:13: note: example recursive call chain, starting from function 'iprof_entity_finalize'
/luavela/src/profile/uj_iprof.c:177:3: note: Frame #1: function 'iprof_entity_finalize' calls function 'iprof_entity_finalize' here:
iprof_entity_finalize(L, sub);
^
/luavela/src/profile/uj_iprof.c:177:3: note: ... which was the starting point of the recursive call chain; there may be other cycles
All the warnings should be verified whether any of them found the real bug or it's just making the noise.