From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GGOke-0000mj-5D for garchives@archives.gentoo.org; Thu, 24 Aug 2006 23:36:44 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7ONYaWi020993; Thu, 24 Aug 2006 23:34:36 GMT Received: from web.cs.ndsu.nodak.edu (web.cs.ndsu.NoDak.edu [134.129.125.7]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7ONVaro030099 for ; Thu, 24 Aug 2006 23:31:36 GMT Received: from web.cs.ndsu.nodak.edu (localhost [127.0.0.1]) by web.cs.ndsu.nodak.edu (8.12.9/8.11.4) with ESMTP id k7ONVZNb029217 for ; Thu, 24 Aug 2006 18:31:35 -0500 (CDT) (envelope-from hennebry@web.cs.ndsu.nodak.edu) Received: from localhost (hennebry@localhost) by web.cs.ndsu.nodak.edu (8.12.9/8.12.8/Submit) with ESMTP id k7ONVYBI029214 for ; Thu, 24 Aug 2006 18:31:35 -0500 (CDT) (envelope-from hennebry@web.cs.ndsu.nodak.edu) Date: Thu, 24 Aug 2006 18:31:34 -0500 (CDT) From: Michael Hennebry To: Subject: Re: [gentoo-user] How to properly change CFLAGS ? In-Reply-To: <7573e9640608231550w43e8f9caj3414130e277a45be@mail.gmail.com> Message-ID: <20060824182800.W24654-100000@web.cs.ndsu.nodak.edu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archives-Salt: d88f4ff5-73cf-4c78-a745-c1ed5172d7d8 X-Archives-Hash: a108f978b1d301759d68ac408d22bd91 On Wed, 23 Aug 2006, Richard Fish wrote: > > What would break with -Os that wouldn't break with -O2? > > I was under the impression that both flags only allowed > > changes that didn't affect the output. > > No, the output *is* allowed to change based on -Os, -O2, or -O3. This > is the entire point of optimizations, after all. What is *not* > allowed to change is the ABI. I should have been clear. I'd meant the output of the compilee, not the compiler, though obviously time-sensitive things will change. -- Mike hennebry@web.cs.ndsu.NoDak.edu "it stands to reason that they weren't always called the ancients." -- Daniel Jackson -- gentoo-user@gentoo.org mailing list