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