* system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Thu, 13 Jul 2000 19:09:23 +0000 (19:09 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Thu, 13 Jul 2000 19:09:23 +0000 (19:09 +0000)
From-SVN: r35020

gcc/ChangeLog
gcc/system.h

index 355eb2ec0e2011c067cf7e4c282d12b33df1ddb0..13a1509c1e7f6b7c8f913f62d6e7b383c5099076 100644 (file)
@@ -1,3 +1,7 @@
+2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
+
 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
 
        * calls.c (stored_args_map): New variable.
index d5fb4d231856db6e5626f4df2c2a7cd0d3c2c6f6..410c280597e547c479c33c052691c14b1b5cb927 100644 (file)
@@ -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__ */