Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2007 22:04:49 +0200
From:      Sascha Holzleiter <sascha@holzleiter.name>
To:        current@freebsd.org
Subject:   Re: Silent gcc 4.2.0 loop optimization bug with -O2
Message-ID:  <1182801889.37093.3.camel@dreamland.chief.home>
In-Reply-To: <467FE3D0.9070006@u.washington.edu>
References:  <20070625130913.GA50273@nagual.pp.ru> <20070625133951.GA51324@nagual.pp.ru> <8e5ef5f70706250659v48f64410wb5399985a571087e@mail.gmail.com> <20070625145627.GA53685@nagual.pp.ru>	<20070625151508.GO27942@hoeg.nl> <20070625152559.GA54055@nagual.pp.ru> <20070625153840.GP27942@hoeg.nl> <467FE3D0.9070006@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2007-06-25 at 08:48 -0700, Garrett Cooper wrote:
>     It's covered in gcc 4.2.1 AFAIK because it's the same / similar to 
> the bug with xorg-server's scanpci.c.
> 
>     Before pursuing your filed bug too much, please switch over to the 
> gcc 4.2.1 snapshot provided by Kris a week back, compile stuff, and see 
> if the error persists.

Just a quick test as i just happen to have the new patch running on this
box:

(aperum@dreamland) /home/aperum> cc -O2 a.c
(aperum@dreamland) /home/aperum> ./a.out 
(aperum@dreamland) /home/aperum> cc -O1 a.c
(aperum@dreamland) /home/aperum> ./a.out   
MUST BE HERE!!! 7
MUST BE HERE!!! 8
MUST BE HERE!!! 9

(aperum@dreamland) /home/aperum> cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070614 prerelease [FreeBSD]

So this doesn't seem to be fixed with Kris' snapshot.


-- 
  Sascha




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