Discussion:
Bug concerning nodnum, ntsz in mip/regs.c
LHB
2011-10-29 06:37:37 UTC
Permalink
I think there is a latent bug in the code. In mip/regs.c a few
variables are defined within #ifdef PCC_DEBUG statements, but then are
used without being wrapped in ifdef statements, causing compilation
failure when PCC_DEBUG is not set.

stktemp, ntsz, REGW.nodnum are 3 culprits I believe.
--
LHB Jr.
Iain Hibbert
2011-10-29 07:58:47 UTC
Permalink
I think there is a latent bug in the code. In mip/regs.c a few variables are
defined within #ifdef PCC_DEBUG statements, but then are used without being
wrapped in ifdef statements, causing compilation failure when PCC_DEBUG is not
set.
stktemp, ntsz, REGW.nodnum are 3 culprits I believe.
Yes, I started cleaning up the --disable-pcc-debug build a few months ago,
but it is not complete as all that seemed a bit complex and I wasn't sure
if they were truly 'debug' codes or not.

So for now, PCC_DEBUG is required (I think there is an issue about that in
the bug tracker)

iain

Loading...