cases for non-GNU systems like AIX, HP-UX, SGI, Sun, and
Sparc, as they were causing more porting problems than the
(minor) performance improvement was worth.
+2001-12-27 Paul Eggert <eggert@twinsun.com>
+
+ * src/bison.simple (YYSTACK_ALLOC, YYSIZE_T): Remove special
+ cases for non-GNU systems like AIX, HP-UX, SGI, Sun, and
+ Sparc, as they were causing more porting problems than the
+ (minor) performance improvement was worth.
+
2001-12-22 Akim Demaille <akim@epita.fr>
* src/output.c (output_short_table, output_short_or_char_table):
If YYSTACK_USE_ALLOCA is defined to 0, then the parsers will use
malloc exclusively. Since 1.29, but was not NEWS'ed.
+ alloca is used only when compiled with GCC, to avoid portability
+ problems as on AIX.
+
* Bug fixes
Changes in version 1.30h:
# define YYSTACK_ALLOC alloca
# define YYSIZE_T YYSTD (size_t)
# else
-# if defined (__GNUC__) || defined (_AIX) || defined (__hpux)
+# ifdef __GNUC__
# define YYSTACK_ALLOC __builtin_alloca
# endif
-# ifndef __GNUC__
-# ifdef _AIX
- # pragma alloca
-# endif
-# if defined (__sgi) || defined (__sparc__) || defined (__sparc) || defined (__sun)
-# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
-# define YYSTACK_ALLOC alloca
-# define YYSIZE_T YYSTD (size_t)
-# endif
-# endif
# endif
# endif
# endif