Mail Archives: djgpp/1997/08/07/18:20:56

Newsgroups: comp.os.msdos.djgpp
From: Elliott Oti <e DOT oti AT stud DOT warande DOT ruu DOT nl>
Subject: Re: Volatile
Sender: usenet AT fys DOT ruu DOT nl (News system Tijgertje)
Message-ID: <>
Date: Fri, 8 Aug 1997 01:58:52 GMT
Reply-To: e DOT oti AT stud DOT warande DOT ruu DOT nl
References: <33E8495B DOT 3EBC AT starnets DOT ro> <33E8B8A1 DOT 7A15746F AT alcyone DOT com>
Mime-Version: 1.0
Organization: The Gauge Variance Promotion Society
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Erik Max Francis wrote:
> I don't believe volatile has any meaning with functions.

I was under the impression that volatile in conjunction with functions
prevents the compiler from carrying out certain optimizations within,
like rearranging the order of operations. Useful for functions
containing hand-optimized inline assembly. 

------------ Elliott Oti ---------------
   -------------  ---------

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019