Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Shouldn't ANSI have provided nonvolatile instead of volatile?
Message-ID: <1990Feb8.162440.22318@utzoo.uucp>
Organization: U of Toronto Zoology
References: <1117.18:37:35@stealth.acf.nyu.edu>
Date: Thu, 8 Feb 90 16:24:40 GMT

In article <1117.18:37:35@stealth.acf.nyu.edu> brnstnd@stealth.acf.nyu.edu (Dan Bernstein) writes:
>The default case should be the safe one.

No, the default case should be the one people usually want, which is "no
funny stuff going on, feel free to optimize".  This is, in any case, what
most C compilers have done by default all along (with the result that
elaborate trickery was sometimes needed to get the effect of volatile),
so there is no sudden drop in safety.
-- 
SVR4:  every feature you ever |     Henry Spencer at U of Toronto Zoology
wanted, and plenty you didn't.| uunet!attcan!utzoo!henry henry@zoo.toronto.edu
