diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-07-20 16:29:57 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-07-20 16:29:57 +0000 |
commit | 6a6c0154f8560ed1fc7e629f97185894680583ad (patch) | |
tree | fcdef1c6f9ce38f7620276baa57a0c16917275a5 | |
parent | 8a199ff68bd8838545868aff41c0097b18c6bd03 (diff) | |
download | gcc-6a6c0154f8560ed1fc7e629f97185894680583ad.zip gcc-6a6c0154f8560ed1fc7e629f97185894680583ad.tar.gz gcc-6a6c0154f8560ed1fc7e629f97185894680583ad.tar.bz2 |
builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form.
* 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.
From-SVN: r69609
-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 6ce6234..fae7b5c 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 5f814bb..0eaba88 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 2c82c40..e3f4afe 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 3a7e180..14662de 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 \ |