volatile registers

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Jan 4 17:21:48 AEST 1989


In article <9316 at ihlpb.ATT.COM> nevin1 at ihlpb.UUCP (55528-Liber,N.J.) asks:
>Is it even possible to have a strictly conforming C program whose
>behavior would change by declaring any of its variables volatile?

Declaring a truly non-volatile object as "volatile" would not affect
the virtual-machine semantics, but it would in general have an effect
on code generation (and thus reduce execution speed, etc.).  That's
why it's not the default.



More information about the Comp.std.c mailing list