version 1.34, 2005/08/16 13:46:49
|
version 1.36, 2007/02/26 19:07:05
|
Line 1
|
Line 1
|
/* This file defines a number of threading schemes. |
/* This file defines a number of threading schemes. |
|
|
Copyright (C) 1995, 1996,1997,1999,2003,2004 Free Software Foundation, Inc. |
Copyright (C) 1995, 1996,1997,1999,2003,2004,2005 Free Software Foundation, Inc. |
|
|
This file is part of Gforth. |
This file is part of Gforth. |
|
|
Line 91
|
Line 91
|
|
|
*/ |
*/ |
|
|
#ifdef GCC_PR15242_WORKAROUND |
#if !defined(GCC_PR15242_WORKAROUND) |
|
#if __GNUC__ == 3 |
|
/* various gcc-3.x version have problems (including PR15242) that are |
|
solved with this workaround */ |
|
#define GCC_PR15242_WORKAROUND 1 |
|
#else |
|
/* other gcc versions are better off without the workaround for |
|
primitives that are not relocatable */ |
|
#define GCC_PR15242_WORKAROUND 0 |
|
#endif |
|
#endif |
|
|
|
#if GCC_PR15242_WORKAROUND |
#define DO_GOTO goto before_goto |
#define DO_GOTO goto before_goto |
#else |
#else |
#define DO_GOTO goto *real_ca |
#define DO_GOTO goto *real_ca |
#endif |
#endif |
|
|
#ifndef GOTO_ALIGN |
#ifndef GOTO_ALIGN |
#define GOTO_ALIGN |
#define GOTO_ALIGN |
#endif |
#endif |