www.digitalmars.com         C & C++   DMDScript  

c++ - Optimization flags

reply "Alex Vinokur" <alexvn connect.to> writes:
C:\dm\bin>dmc

Digital Mars Compiler Version 8.35n
[---omitted---]
-o[-+flag]  run optimizer with flag
[---omitted---]


Where can one see list of optimization flags?

--
 =====================================
   Alex Vinokur
     mailto:alexvn connect.to
     http://mathforum.org/library/view/10978.html
     news://news.gmane.org/gmane.comp.lang.c++.perfometer
   =====================================
Oct 31 2003
next sibling parent "Matthew Wilson" <matthew-hat -stlsoft-dot.-org> writes:
Dunno, but they're -o+speed and -o+space

"Alex Vinokur" <alexvn connect.to> wrote in message
news:bntkk3$1u7p$1 digitaldaemon.com...
 C:\dm\bin>dmc

 Digital Mars Compiler Version 8.35n
 [---omitted---]
 -o[-+flag]  run optimizer with flag
 [---omitted---]


 Where can one see list of optimization flags?

 --
  =====================================
    Alex Vinokur
      mailto:alexvn connect.to
      http://mathforum.org/library/view/10978.html
      news://news.gmane.org/gmane.comp.lang.c++.perfometer
    =====================================
Oct 31 2003
prev sibling next sibling parent Christof Meerwald <cmeerw web.de> writes:
On Fri, 31 Oct 2003 14:38:39 +0200, Alex Vinokur wrote:
 Where can one see list of optimization flags?
see http://www.digitalmars.com/ctg/ctgOptimizer.html bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net?
Oct 31 2003
prev sibling parent "Walter" <walter digitalmars.com> writes:
"Alex Vinokur" <alexvn connect.to> wrote in message
news:bntkk3$1u7p$1 digitaldaemon.com...
 C:\dm\bin>dmc

 Digital Mars Compiler Version 8.35n
 [---omitted---]
 -o[-+flag]  run optimizer with flag
 [---omitted---]


 Where can one see list of optimization flags?
There are several, but the only useful ones are -o+speed and -o+space.
Oct 31 2003