Source-Changes-D archive

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

Re: CVS commit: src/libexec/getty

On Sun, Aug 11, 2013 at 09:16:42AM +0000, Martin Husemann wrote:
 > Log Message:
 > Fix another automatic variable that is life both pre- and post the
 > siglongjmp
 > (which gcc calls "might be clobbered") by marking it volatile: on some
 > machines, this value might end up in a register loaded before the sigsetjmp,
 > but not preserved by the siglongjmp later.
 > Fixes the VAX build.

gcc used to complain about all locals that have this property that
aren't volatile (in accordance with the C standard) -- I guess it's
stopped bothering? That is annoying.

David A. Holland

Home | Main Index | Thread Index | Old Index