Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 1995 16:26:09 -0700
From:      David Greenman <davidg@Root.COM>
To:        =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su>
Cc:        CVS-commiters@freefall.freebsd.org, cvs-share@freefall.freebsd.org
Subject:   Re: cvs commit: src/share/mk sys.mk 
Message-ID:  <199508112326.QAA26825@corbin.Root.COM>
In-Reply-To: Your message of "Fri, 11 Aug 95 17:27:46 %2B0400." <TBIhrAmmD0@astral.msk.su> 

next in thread | previous in thread | raw e-mail | index | archive | help
>In message <199508111147.EAA17376@freefall.FreeBSD.org> David Greenman
>    writes:
>
>>davidg      95/08/11 04:47:31
>
>>  Modified:    share/mk  sys.mk
>>  Log:
>>  Changed default optimization from -O2 back to -O...gcc 2.6.* has serious
>>  bugs when using -O2.
>
>Maybe add -fno-strength-reduce instead?

   Until the precise reason for the optimization failure is known, it isn't
safe to use all of the optimizations in -O2. The fact that -fno-strength-reduce
appears to affect the problem doesn't mean that the bug is in the strength
reduction code.
   I saw no measurable improvement in system performance when we went to -O2,
and all things considered, I think it is much safer to just stick with -O for
now.

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508112326.QAA26825>