Hi all. The new CGP code causes compilation of interpreter.c to fail if HAVE_COMPUTED_GOTO is undefined. This is because it references Parrot_DynOp_core_cgp_0_0_9, which is defined in core_ops_cgp.h, and the latter is only included when HAVE_COMPUTED_GOTO is defined. This bug appears to be responsible for most of the current breakage in the tinderbox; however, it can also be provoked by a standard Linux/x86/gcc combination if you configure without computed goto.
The patch below fixes the problem, but I'd prefer some comments from the experts before I commit it. Cheers, Simon --- interpreter.c.old Mon Feb 10 15:41:10 2003 +++ interpreter.c Mon Feb 10 15:41:21 2003 @@ -15,13 +15,13 @@ #include "parrot/interp_guts.h" #include "parrot/oplib/core_ops.h" #include "parrot/oplib/core_ops_prederef.h" +#include "parrot/oplib/core_ops_cgp.h" #include "parrot/runops_cores.h" #ifdef HAS_JIT # include "parrot/jit.h" #endif #ifdef HAVE_COMPUTED_GOTO # include "parrot/oplib/core_ops_cg.h" -# include "parrot/oplib/core_ops_cgp.h" #endif #include "parrot/method_util.h"