delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/10/20/15:51:35

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
Date: Tue, 20 Oct 1998 10:35:59 -0500 (EST)
From: Steven Snyder <ssnyder AT indy DOT net>
X-Sender: ssnyder AT indy1
To: pgcc mailing list <beastium-list AT Desk DOT nl>
Subject: What does the -O9 switch do?
Message-ID: <Pine.SUN.3.96.981020102459.133A-100000@indy1>
MIME-Version: 1.0
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 15

The pgcc Web page documents the optimizations enabled by -O3 through -O6,
but is silent on higher optimizations.  (The gcc man pages don't mention
anything higher than -O3.)  What, for instance, does -O9 do that -O6 does
not?

Since the egcs/pgcc 1.1a compilers no longer write the switches to the
generated asm file (can we please, please, please get that feature back?)
there's no way to tell which flags were used in a given compilation.

Binary files built with -O6 and -O9 do compare differently sometimes (for
instance, on the Linux kernel bzImage file).  Obviously the higher
optimization specified generated different code, but what?

Thanks.


- Raw text -


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