bug-bison
[Top][All Lists]
Advanced

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

Re: avoiding longjmp/vfork warnings


From: Bruno Haible
Subject: Re: avoiding longjmp/vfork warnings
Date: Fri, 27 May 2005 18:20:02 +0200
User-agent: KMail/1.5

Akim Demaille wrote:
> Wouldn't
>
>         (void) &from_in_fd;
>
> do the trick?  Taking the address of a variable should ensure it is
> not in a register.

This doesn't work any more in gcc-4.0. See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21160
The gcc people recommend to use 'volatile' instead; this is consistent
with ISO C 7.13.2.1.(3).

Bruno





reply via email to

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