www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/09/02:05:57

Xref: news2.mv.net comp.os.msdos.djgpp:1748
Newsgroups: comp.os.msdos.djgpp
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
Subject: Re: V2 and Ghostscript
Message-ID: <DnwpIA.2rK@cfanews.harvard.edu>
Sender: news AT cfanews DOT harvard DOT edu
Reply-To: rbabcock AT cfa DOT harvard DOT edu
Organization: Smithsonian Astrophysical Observatory, Cambridge, MA, USA
References: <313ED6FE DOT 446B AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Date: Thu, 7 Mar 1996 16:51:46 GMT
Lines: 7
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Thomas Demmer (demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De) wrote:
: How can I make gcc _not_ optimize the first example but still have
: optimization on?

I don't know if it will work here, but the usual way of telling a compiler
not to optimize something is to declare the variables used in the expression
as 'volatile.'

- Raw text -


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