diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/builtins.def | 9 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 6 | ||||
-rw-r--r-- | gcc/system.h | 2 |
4 files changed, 7 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ce623407b0..fae7b5c752e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-07-20 Roger Sayle <roger@eyesopen.com> + + * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form. + * system.h (SMALL_STACK): Poison obsolete target macro. + * doc/tm.texi (SMALL_STACK): Remove target macro documentation. + 2003-07-20 Phil Edwards <pme@gcc.gnu.org> * configure.in: Cache the results of testing for cmp's capabilities. diff --git a/gcc/builtins.def b/gcc/builtins.def index 5f814bbf9f5..0eaba889dcb 100644 --- a/gcc/builtins.def +++ b/gcc/builtins.def @@ -140,19 +140,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA DEF_BUILTIN (ENUM, NAME, BUILT_IN_FRONTEND, TYPE, TYPE, \ true, true, true, ATTRS, true) -/* If SMALL_STACK is defined, then `alloca' is only defined in its - `__builtin' form. */ -#if SMALL_STACK -DEF_FALLBACK_BUILTIN(BUILT_IN_ALLOCA, - "__builtin_alloca", - BT_FN_PTR_SIZE, - ATTR_MALLOC_NOTHROW_LIST) -#else DEF_EXT_LIB_BUILTIN(BUILT_IN_ALLOCA, "__builtin_alloca", BT_FN_PTR_SIZE, ATTR_MALLOC_NOTHROW_LIST) -#endif DEF_LIB_BUILTIN(BUILT_IN_ABS, "__builtin_abs", diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 2c82c4044f0..e3f4afe03b3 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -2936,12 +2936,6 @@ want to support call frame debugging information like that provided by DWARF 2. @end defmac -@defmac SMALL_STACK -Define this macro if the stack size for the target is very small. This -has the effect of disabling gcc's built-in @samp{alloca}, though -@samp{__builtin_alloca} is not affected. -@end defmac - @node Exception Handling @subsection Exception Handling Support @cindex exception handling diff --git a/gcc/system.h b/gcc/system.h index 3a7e18038a7..14662de00c5 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -592,7 +592,7 @@ typedef char _Bool; headers and were not used, and may be obsolete or may never have been used. */ #pragma GCC poison INT_ASM_OP ASM_OUTPUT_EH_REGION_BEG CPP_PREDEFINES \ - ASM_OUTPUT_EH_REGION_END ASM_OUTPUT_LABELREF_AS_INT \ + ASM_OUTPUT_EH_REGION_END ASM_OUTPUT_LABELREF_AS_INT SMALL_STACK \ DOESNT_NEED_UNWINDER EH_TABLE_LOOKUP OBJC_SELECTORS_WITHOUT_LABELS \ OMIT_EH_TABLE EASY_DIV_EXPR IMPLICIT_FIX_EXPR \ LONGJMP_RESTORE_FROM_STACK MAX_INT_TYPE_SIZE ASM_IDENTIFY_GCC \ |