aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/system.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 355eb2e..13a1509 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/system.h b/gcc/system.h
index d5fb4d2..410c280 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__ */