changeset 108868:ed338646a7b4

m/hp800.h simplification. * src/m/hp800.h (alloca) [__NetBSD__ && __GNUC__]: No need to define it, now that AH_BOTTOM does it.
author Glenn Morris <rgm@gnu.org>
date Wed, 02 Jun 2010 22:41:49 -0700
parents c0e26963bee2
children 2d46c90637c5
files src/ChangeLog src/m/hp800.h
diffstat 2 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Jun 02 22:35:54 2010 -0700
+++ b/src/ChangeLog	Wed Jun 02 22:41:49 2010 -0700
@@ -1,5 +1,8 @@
 2010-06-03  Glenn Morris  <rgm@gnu.org>
 
+	* m/hp800.h (alloca) [__NetBSD__ && __GNUC__]: No need to define it,
+	now that AH_BOTTOM does it.
+
 	* m/hp800.h (HAVE_ALLOCA):
 	* m/ibms390x.h (HAVE_ALLOCA): Do not define, no longer needed.
 
--- a/src/m/hp800.h	Wed Jun 02 22:35:54 2010 -0700
+++ b/src/m/hp800.h	Wed Jun 02 22:41:49 2010 -0700
@@ -29,12 +29,5 @@
    This flag only matters if you use USE_LISP_UNION_TYPE.  */
 #define EXPLICIT_SIGN_EXTEND
 
-/* Systems with GCC don't need to lose. */
-#ifdef __NetBSD__
-# ifdef __GNUC__
-#  define alloca __builtin_alloca
-# endif /* __GNUC__ */
-#endif /* __NetBSD__ */
-
 /* arch-tag: 809436e6-1645-4b92-b40d-2de5d6e7227c
    (do not change this comment) */