Article View: comp.std.c
Article #5542Re: volatile registers
From: Doug Gwyn
Date: Wed, 04 Jan 1989 07:21
Date: Wed, 04 Jan 1989 07:21
8 lines
952 bytes
952 bytes
In article <9316@ihlpb.ATT.COM> nevin1@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.
Technical Details
Message-ID:
<9271@smoke.BRL.MIL>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!nrl-cmf!ukma!rutgers!cmcl2!adm!smoke!gwynReferences:
<141@bms-at.UUCP> <275@twwells.uucp> <15166@mimsy.UUCP> <9236@smoke.BRL.MIL> <15171@mimsy.UUCP> <9316@ihlpb.ATT.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!nrl-cmf!ukma!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.std.c Subject: Re: volatile registers Message-ID: <9271@smoke.BRL.MIL> Date: 4 Jan 89 07:21:48 GMT References: <141@bms-at.UUCP> <275@twwells.uucp> <15166@mimsy.UUCP> <9236@smoke.BRL.MIL> <15171@mimsy.UUCP> <9316@ihlpb.ATT.COM> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8