diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-20 22:23:12 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-20 22:23:12 +0000 |
commit | 14f9c168b9d11189fad5e4b471070dd1fa82fe0d (patch) | |
tree | 07874887eb4d66cb936b8de3cc879535c9be90f9 /gcc/tsystem.h | |
parent | 0ee14aba4f213a5201c55c38aeb13e4cab496282 (diff) | |
download | gcc-14f9c168b9d11189fad5e4b471070dd1fa82fe0d.tar.gz |
* tsystem.h (alloca): Provide a default definition.
Revert:
2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* unwind-dw2.c: Call __builtin_alloca, not alloca.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87775 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tsystem.h')
-rw-r--r-- | gcc/tsystem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tsystem.h b/gcc/tsystem.h index 7928b31b68a..7ccdf4c0f59 100644 --- a/gcc/tsystem.h +++ b/gcc/tsystem.h @@ -117,4 +117,8 @@ extern int errno; #define NULL 0 #endif +/* GCC always provides __builtin_alloca(x). */ +#undef alloca +#define alloca(x) __builtin_alloca(x) + #endif /* ! GCC_TSYSTEM_H */ |