https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69004

--- Comment #27 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to PeteVine from comment #26)
> I've just tried your patch and it seems it has improved matters somewhat but
> now I'm getting this:
> 
> lj_gc.c
> ../src/luajit2/src/lj_gc.c: In function ‘lj_mem_realloc’:
> ../src/luajit2/src/lj_gc.c:803:5: error: corrupted value profile: ic profile
> counter (5689420 out of 5689366) inconsistent with basic-block count
> (5689366)
>    p = g->allocf(g->allocd, p, osz, nsz);
>    ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Yeah, can you please try to run the engine in gdb and put break-points on
gcov_exit and lj_mem_realloc. I guess the later one is called after the former
one?

Reply via email to