Date: Wed, 31 Aug 2005 10:57:05 -0400 From: Chuck Swiger <cswiger@mac.com> To: "Jim C. Nasby" <decibel@decibel.org> Cc: stable@freebsd.org Subject: Re: 6.0 and -O2 option Message-ID: <4315C541.7050000@mac.com> In-Reply-To: <20050831050137.GQ77007@decibel.org> References: <55023220@srv.sem.ipt.ru> <20050828150947.GA58038@82-168-75-155-bbxl.xdsl.tiscali.nl> <4312B091.9090104@meijome.net> <d449958050829175712f309f3@mail.gmail.com> <20050831050137.GQ77007@decibel.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jim C. Nasby wrote: > On Tue, Aug 30, 2005 at 10:57:53AM +1000, Robert Backhaus wrote: [ ... ] >> Simply because not every port works with -O2 optimisations. It caused >> bad code in some circumstances. > > Is there an automated way to identify those ports so they can be forced > not to use -O higer than -O1? Regrettably, no. Well, -Werror might be somewhere between overkill and helpful, assuming the compiler can recognize a potential type-punning situation. -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4315C541.7050000>