--- gforth/engine/engine.c 2003/08/22 08:08:46 1.66 +++ gforth/engine/engine.c 2003/10/09 20:25:59 1.69 @@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. */ +#define USE_NO_TOS +#define USE_NO_FTOS + #include "config.h" #include "forth.h" #include @@ -153,6 +156,12 @@ extern int gforth_memcmp(const char * s1 #ifndef TOSREG #define TOSREG #endif +#ifndef spaREG +#define spaREG +#endif +#ifndef spbREG +#define spbREG +#endif #ifndef FTOSREG #define FTOSREG #endif @@ -233,7 +242,8 @@ extern int gforth_memcmp(const char * s1 #error illegal ENGINE value #endif /* ENGINE */ -#define LABEL2(name) K_##name: +/* the asm(""); is there to get a stop compiled on Itanium */ +#define LABEL2(name) K_##name: asm(""); Label *engine(Xt *ip0, Cell *sp0, Cell *rp0, Float *fp0, Address lp0) /* executes code at ip, if ip!=NULL @@ -263,7 +273,9 @@ Label *engine(Xt *ip0, Cell *sp0, Cell * void * prv; #endif register Address up UPREG = UP; - IF_spTOS(register Cell spTOS TOSREG;) + register Cell MAYBE_UNUSED spa TOSREG; + register Cell MAYBE_UNUSED spb spaREG; + register Cell MAYBE_UNUSED spc spbREG; IF_fpTOS(register Float fpTOS FTOSREG;) #if defined(DOUBLY_INDIRECT) static Label *symbols;