Paul Eggert wrote: > A couple of other things. The Bison documentation says that > YYSTACK_USE_ALLOCA must be defined to 0 if it is defined to anything.
But then the second to fourth line of the following bison output are useless. # ifdef YYSTACK_USE_ALLOCA # if YYSTACK_USE_ALLOCA # define YYSTACK_ALLOC alloca # endif # else # if defined (alloca) || defined (_ALLOCA_H) # define YYSTACK_ALLOC alloca # else # ifdef __GNUC__ # define YYSTACK_ALLOC __builtin_alloca # endif # endif # endif The bison output also supports #define YYSTACK_USE_ALLOCA 1. It'd be good to fix the bison documentation in this respect. Without #define YYSTACK_USE_ALLOCA 1 in getdate.y, alloca will not be used although present, if it's implemented as a function. > And there's an obsolete comment about AIX and alloca -- we no longer > use the alloca pragma, so this shouldn't be a problem. So AIX 3 is not among your porting targets any more? I still have access to such a machine. Bruno _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
