From owner-freebsd-current Tue May 25 21:34:39 1999 Delivered-To: freebsd-current@freebsd.org Received: from shell.webmaster.com (mail.webmaster.com [209.133.28.73]) by hub.freebsd.org (Postfix) with ESMTP id BE97D15051 for ; Tue, 25 May 1999 21:34:36 -0700 (PDT) (envelope-from davids@webmaster.com) Received: from whenever ([209.133.29.2]) by shell.webmaster.com (Post.Office MTA v3.5.3 release 223 ID# 0-12345L500S10000V35) with SMTP id com; Tue, 25 May 1999 21:34:35 -0700 From: "David Schwartz" To: "obituary" Cc: Subject: RE: More compiler option comparisons Date: Tue, 25 May 1999 21:34:34 -0700 Message-ID: <000001bea731$0e713990$021d85d1@whenever.youwant.to> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-reply-to: <374B7669.E8463ABF@atlas.newcastle.edu.au> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG With egcs, the '-O' flag doesn't specify the optimization level like it does in GCC. It specifies the desired stability of the generated code. Lower numbers (0,1,2) request higher stability. ;) DS > Dan Nelson wrote: > > -O4 doesn't exist in egcs (or it didn't a month or so ago). According > > to the source, -O2 enables all optimizations except -funroll-all-loops, > > and all -O3 does is enable -funroll-all-loops. > > I think I recall reading somewhere that EGCS uses -O numbers > 3 to test > experimental optimizations. > > -jake (obituary) Powered by FreeBSD > c9710216@atlas.newcastle.edu.au http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message