Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2001 06:50:01 -0700 (PDT)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: i386/19245: -fexpensive-optimizations buggy (even with -O)
Message-ID:  <200108301350.f7UDo1T33866@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/19245; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: Mikhail Teterin <mi@aldan.algebra.com>
Cc: <mike@FreeBSD.org>, <bde@FreeBSD.org>,
	<freebsd-gnats-submit@FreeBSD.org>
Subject: Re: i386/19245: -fexpensive-optimizations buggy (even with -O)
Date: Thu, 30 Aug 2001 23:45:16 +1000 (EST)

 On Wed, 29 Aug 2001, Mikhail Teterin wrote:
 
 > > The main reason reason is that I wasn't sure that it was not a FreeBSD
 > > bug. There is  now a near-duplicate of this PR  (gnu/30181) which says
 > > that the  bug is  in both  the FreeBSD port  and original  GNU version
 > > of  gcc-2.95.3,  and  analyses  generated code  to  locate  the  wrong
 > > instructions. It's clear that it is a gcc bug.
 >
 > But on  the Mandrake the same  code compiles correctly --  that's what I
 > don't understand. In fact, that's the only  reason I filed the PR at all
 > -- I know about optimization problems in gcc in general.
 >
 > Did Mandrake patch the compiler somehow? Can we incorporate their fix?
 
 Maybe they just use obrien's hack to silently force -O2 down to -O1 :-).
 (WANT_FORCE_OPTIMIZATION_DOWNGRADE=1 in /etc/make.conf in -current.)
 
 Bruce
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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