bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison-2.0a feedback


From: Bruno Haible
Subject: Re: bison-2.0a feedback
Date: Fri, 27 May 2005 13:25:28 +0200
User-agent: KMail/1.5

Paul Eggert wrote:
> > subpipe.c:103: warning: variable `from_in_fd' might be clobbered by 
> > `longjmp' or `vfork'
> 
> I take it that it's OK to put information into an array rather than a
> variable that might be put into a register?

Yes, it looks like even gcc-4.0 cannot optimize these two arrays into
registers.

> The patch below does that.
> I hope it fixes things for FreeBSD 4.0 i386 with gcc-2.95.3.

It doesn't fix the warnings, because gcc-2.95.3 doesn't have enough dataflow
capabilities to distinguish the (pid > 0) and (pid == 0) cases. But I'm
convinced that it fixes the problem gcc warns about.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]