RE: alloca in HP NonStop

2012-07-04 Thread Joachim Schmitz
> From: Paul Eggert [mailto:egg...@cs.ucla.edu] > Sent: Wednesday, July 04, 2012 9:10 AM > To: Joachim Schmitz > Cc: bug-gnulib@gnu.org > Subject: Re: alloca in HP NonStop > > On 07/04/2012 12:05 AM, Joachim Schmitz wrote: > > Still missing seems the detection of this b

Re: alloca in HP NonStop

2012-07-04 Thread Paul Eggert
On 07/04/2012 12:05 AM, Joachim Schmitz wrote: > Still missing seems the detection of this by configure? As things stand, I don't see why 'configure' needs to detect anything. You mentioned the possibility of it detecting but the code works fine without needing HAVE_BUILTINS_H. So I assume this

RE: alloca in HP NonStop

2012-07-04 Thread Joachim Schmitz
> From: Paul Eggert [mailto:egg...@cs.ucla.edu] > Sent: Tuesday, July 03, 2012 7:13 PM > To: Joachim Schmitz > Cc: bug-gnulib@gnu.org > Subject: Re: alloca in HP NonStop > > On 07/03/2012 02:56 AM, Joachim Schmitz wrote: > > Or rather: we need that prototype before

Re: alloca in HP NonStop

2012-07-03 Thread Paul Eggert
On 07/03/2012 02:56 AM, Joachim Schmitz wrote: > Or rather: we need that prototype before the pragma OK, in that case we might as well not refactor. I pushed the following instead: --- ChangeLog |7 +++ lib/alloca.in.h |7 +++ 2 files changed, 14 insertions(+), 0 deletions(

RE: alloca in HP NonStop

2012-07-03 Thread Joachim Schmitz
> From: Joachim Schmitz [mailto:j...@schmitz-digital.de] > Sent: Tuesday, July 03, 2012 11:54 AM > To: 'Paul Eggert' > Cc: 'bug-gnulib@gnu.org' > Subject: RE: alloca in HP NonStop > > > From: Paul Eggert [mailto:egg...@cs.ucla.edu] > > Sent: Tuesd

RE: alloca in HP NonStop

2012-07-03 Thread Joachim Schmitz
> From: Paul Eggert [mailto:egg...@cs.ucla.edu] > Sent: Tuesday, July 03, 2012 10:45 AM > To: Joachim Schmitz > Cc: bug-gnulib@gnu.org > Subject: Re: alloca in HP NonStop > > On 07/02/2012 11:40 PM, Joachim Schmitz wrote: > > I' don't quite understand, why no

Re: alloca in HP NonStop

2012-07-03 Thread Paul Eggert
On 07/02/2012 11:40 PM, Joachim Schmitz wrote: > I' don't quite understand, why not the entire alloca.in.h is bracketed by > this. > At least now that it is used in 2 places? We can't bracket the entire file, since (as far as I know) it's not safe to put #include inside 'extern "C" { ... }'. How

RE: alloca in HP NonStop

2012-07-02 Thread Joachim Schmitz
> From: Paul Eggert [mailto:egg...@cs.ucla.edu] > Sent: Tuesday, July 03, 2012 2:38 AM > To: Joachim Schmitz > Cc: bug-gnulib@gnu.org > Subject: Re: alloca in HP NonStop > > On 06/28/2012 09:41 AM, Joachim Schmitz wrote: > > Or drop it an just take the else branch. &

Re: alloca in HP NonStop

2012-07-02 Thread Paul Eggert
On 06/28/2012 09:41 AM, Joachim Schmitz wrote: > Or drop it an just take the else branch. Yes, that sounds simpler. Also, how about the following ideas for simplification: Don't bother checking __TANDEM; _TNS_E_TARGET should suffice. This fixes what appears to be a bug on older Tandem systems.