Grrr. Do not #include "Stg.h" in plain C code, because that enables
all the global register variables. #include "Rts.h" directly instead.
This was correct in the original StgLongLong.c, why on earth it was
changed is beyond me.
/* -----------------------------------------------------------------------------
- * $Id: longlong.c,v 1.2 2001/07/14 00:06:15 sof Exp $
+ * $Id: longlong.c,v 1.3 2001/07/23 15:11:55 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
64-bit entities (these are defined in PrimOps.h)
*/
-#include "Stg.h"
+#include "Rts.h"
#ifdef SUPPORT_LONG_LONGS