From owner-freebsd-current Wed Mar 15 13:52: 9 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 66F9B37BB4A for ; Wed, 15 Mar 2000 13:52:06 -0800 (PST) (envelope-from obrien@NUXI.ucdavis.edu) Received: from dragon.nuxi.com (root@d60-024.leach.ucdavis.edu [169.237.60.24]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id NAA05379; Wed, 15 Mar 2000 13:52:05 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id NAA60795; Wed, 15 Mar 2000 13:52:05 -0800 (PST) (envelope-from obrien) Date: Wed, 15 Mar 2000 13:52:05 -0800 From: "David O'Brien" To: Dan Nelson Cc: current@FreeBSD.ORG Subject: Re: gcc -Os optimisation broken (RELENG_4) Message-ID: <20000315135205.C60742@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <38CF48CF.59A100D7@altavista.net> <20000315105155.A9533@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000315105155.A9533@dan.emsphone.com>; from dnelson@emsphone.com on Wed, Mar 15, 2000 at 10:51:55AM -0600 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 15, 2000 at 10:51:55AM -0600, Dan Nelson wrote: > I get it with -O2 (-Os implies -O2, so it's probably the same problem). Not quite. -0s ==> all the -O2 optimizations that do not increase code size. -Os can also perform other optimizations not part of -O2 that decrease code size. The -Os ==> -O2 only tells you how "risky" in optimizing -Os is willing to be. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message