}
#endif
+
+/* The __FUNCTION__ gcc variable is generally only used for debugging.
+ * If we're not using gcc, define __FUNCTION__ as a cpp symbol here.
+ */
+#if defined(__VMS)
+#define __FUNCTION__ "VMS$NL:"
+#elif !(defined(__GNUC__) && __GNUC__ >= 2)
+#define __FUNCTION__ "unknown"
+#endif
+
+
#include "config.h"
#endif /* GLHEADER_H */
debug_insn(inst, fn, line);
}
-
-#ifdef __VMS
-#define __FUNCTION__ "VMS$NL:"
-#endif
#define emit_op3(p, op, dst, mask, src0, src1, src2) \
emit_op3fn(p, op, dst, mask, src0, src1, src2, __FUNCTION__, __LINE__)