From owner-freebsd-current Fri Dec 1 11:21:37 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18572 for current-outgoing; Fri, 1 Dec 1995 11:21:37 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA18565 for ; Fri, 1 Dec 1995 11:21:27 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id OAA18918; Fri, 1 Dec 1995 14:20:45 -0500 (EST) Date: Fri, 1 Dec 1995 14:20:39 -0500 (EST) From: "Marc G. Fournier" To: Bruce Evans cc: julian@ref.tfs.com, current@freebsd.org Subject: -O6/-fstrength-reduce for kernel (Was: Re: changes in -current...) In-Reply-To: <199512011252.XAA17404@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Fri, 1 Dec 1995, Bruce Evans wrote: > > the other thing I'm trying differently is using -O6 instead of > >-O, but ... that shouldn't hurt anything, should it? > > Yes, -O2 gives -fstrength-reduce which is broken at least in gcc-2.6.3 > through gcc-2.7.1. > Okay, so *that* is where that -f<> option comes in. I've been wondering about that. Now the question becomes why is it that I can compile other software using -O6, and not the kernel? I would have assumed that that bug would be inherent in any software I compiled using it, but I guess not..but why not? Also, someone mentioned using -fno-strength-reduce? If I used that, with -O6, would I notice any benefits, or does using -fno-strength-reduce just about take out any benefits to -O6? Thanks... Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc