From owner-freebsd-current Thu Mar 16 8:34: 7 2000 Delivered-To: freebsd-current@freebsd.org Received: from mx5.mail.ru (mx5.mail.ru [194.67.23.40]) by hub.freebsd.org (Postfix) with ESMTP id DFA6F37BF6A; Thu, 16 Mar 2000 08:34:03 -0800 (PST) (envelope-from sobomax@mail.ru) Received: from f4.int ([10.0.0.51] helo=f4.mail.ru) by mx5.mail.ru with esmtp (Exim 3.02 #116) id 12VMTc-000IDz-00; Thu, 16 Mar 2000 01:41:16 +0300 Received: from mail by f4.mail.ru with local (Exim 3.02 #112) id 12VMTV-000E5w-00; Thu, 16 Mar 2000 01:41:09 +0300 Received: from [212.9.224.1] by koi.mail.ru with HTTP; Wed, 15 Mar 2000 22:41:09 +0000 (GMT) From: "Maxim Sobolev" To: "Dan Nelson" Cc: "David O'Brien" , current@FreeBSD.ORG Subject: Re[2]: gcc -Os optimisation broken (RELENG_4) Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: 212.9.227.144 via proxy [212.9.224.1] In-Reply-To: <20000315155727.B44262@dan.emsphone.com> Reply-To: "Maxim Sobolev" Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: Date: Thu, 16 Mar 2000 01:41:09 +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----Original Message----- From: Dan Nelson To: "David O'Brien" Date: Wed, 15 Mar 2000 15:57:27 -0600 Subject: Re: gcc -Os optimisation broken (RELENG_4) > In the last episode (Mar 15), David O'Brien said: > > 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. > > Too risky, apparently :) > > Maxim: It looks like you've done quite a big of debugging already; can > you get this bug to appear in a small piece of code? I'm sure the gcc > developers would be able to fix the problem pretty quickly if it's > easily reproducable. I'll try to. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message