Date: Wed, 26 Feb 2003 11:40:23 -0800 (PST) From: Doug Barton <DougB@FreeBSD.org> To: Dag-Erling Smorgrav <des@ofug.org> Cc: current@freebsd.org Subject: Re: -O2 considered harmful Message-ID: <20030226113815.W5357@znfgre.tberna.bet> In-Reply-To: <xzpy943xnhx.fsf@flood.ping.uio.no> References: <xzpy943xnhx.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Feb 2003, Dag-Erling Smorgrav wrote: > It seems that with -O2 on ia32 (-march=k6-2 in my case), gcc will in > some cases generate short jumps to targets too far away for the offset > to fit in a single byte. A surefire way to reproduce this is to build > Mesa (or XFree86-4-libraries, which includes parts of Mesa). I was recently a participant in a thread in another forum where all sorts of people, including a well respected gcc developer, said categorically that the latest (stock) gcc produces correct code with -O2 in all cases on ia32. If it doesn't, the gcc folks would like a bug report. Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030226113815.W5357>