[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] Re: getdate don't need alloca
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] Re: getdate don't need alloca |
Date: |
Tue, 21 Dec 2004 16:34:54 +0100 |
User-agent: |
KMail/1.5 |
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-gnulib] Re: getdate don't need alloca, (continued)
- [bug-gnulib] Re: getdate don't need alloca, Simon Josefsson, 2004/12/17
- [bug-gnulib] Re: getdate don't need alloca, Bruno Haible, 2004/12/17
- [bug-gnulib] Re: getdate don't need alloca, Simon Josefsson, 2004/12/17
- Re: [bug-gnulib] Re: getdate don't need alloca, Paul Eggert, 2004/12/17
- [bug-gnulib] Re: getdate don't need alloca, Simon Josefsson, 2004/12/17
- Re: [bug-gnulib] Re: getdate don't need alloca, Paul Eggert, 2004/12/18
- [bug-gnulib] Re: getdate don't need alloca, Bruno Haible, 2004/12/18
- [bug-gnulib] Re: getdate don't need alloca, Simon Josefsson, 2004/12/18
- Re: [bug-gnulib] Re: getdate don't need alloca, Paul Eggert, 2004/12/19
- [bug-gnulib] Re: getdate don't need alloca, Simon Josefsson, 2004/12/19
- Re: [bug-gnulib] Re: getdate don't need alloca,
Bruno Haible <=
- Re: [bug-gnulib] Re: getdate don't need alloca, Paul Eggert, 2004/12/22
- [bug-gnulib] Re: getdate don't need alloca, Simon Josefsson, 2004/12/17
- Re: [bug-gnulib] Re: getdate don't need alloca, Bruno Haible, 2004/12/18
- Re: [bug-gnulib] Re: getdate don't need alloca, Stepan Kasal, 2004/12/20
- Re: [bug-gnulib] Re: getdate don't need alloca, Stepan Kasal, 2004/12/20
- Re: [bug-gnulib] Re: getdate don't need alloca, Paul Eggert, 2004/12/20
- Re: [bug-gnulib] Re: getdate don't need alloca, Stepan Kasal, 2004/12/21
- Re: [bug-gnulib] Re: getdate don't need alloca, Paul Eggert, 2004/12/22