From: Kaveh R. Ghazi Date: Thu, 13 Jul 2000 19:09:23 +0000 (+0000) Subject: * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2021c8d296ff2d3bfaef27ece005c00c8540c7af;p=gcc.git * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__. From-SVN: r35020 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 355eb2ec0e2..13a1509c1e7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-07-13 Kaveh R. Ghazi + + * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__. + 2000-07-13 Jakub Jelinek * calls.c (stored_args_map): New variable. diff --git a/gcc/system.h b/gcc/system.h index d5fb4d23185..410c280597e 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -610,4 +610,9 @@ extern void abort PARAMS ((void)); #define UNION_INIT_ZERO #endif +/* GCC now gives implicit declaration warnings for undeclared builtins. */ +#if defined(__GNUC__) && defined (__SIZE_TYPE__) +extern void *alloca (__SIZE_TYPE__); +#endif + #endif /* __GCC_SYSTEM_H__ */