From owner-freebsd-current Fri Aug 9 9: 8:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B34E237B401 for ; Fri, 9 Aug 2002 09:08:38 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C05E43E4A for ; Fri, 9 Aug 2002 09:08:37 -0700 (PDT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 5547 invoked by uid 0); 9 Aug 2002 16:08:35 -0000 Received: from pd950a5b1.dip.t-dialin.net (HELO gmx.net) (217.80.165.177) by mail.gmx.net (mp011-rz3) with SMTP; 9 Aug 2002 16:08:35 -0000 Message-ID: <3D53E903.60302@gmx.net> Date: Fri, 09 Aug 2002 18:08:35 +0200 From: Michael Nottebrock Reply-To: freebsd-current@FreeBSD.ORG User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0rc2) Gecko/20020513 Netscape/7.0b1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG Cc: Marc Recht Subject: Re: Compiler error XFree86-Server References: <20020806230045.3EFF72DD@nebula.anchoragerescue.org> <3D5127D3.2030601@gmx.net> <20020809043953.GC980@dragon.nuxi.com> <3D534D0F.704@gmx.net> <20020809081355.754aca33.marc@informatik.uni-bremen.de> <20020809144713.GA3531@dragon.nuxi.com> X-Enigmail-Version: 0.61.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------050107050907010503000107" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------050107050907010503000107 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit David O'Brien wrote: >>>I've got suggests that it's still present in all branches. I get the >>>impression that not too many people really use gcc3 with heavy >>>optimization on big stuff like XFree86 yet ... Of course, updating the >> >>XFree86 works like a charm built with -march=athlon-xp . > > > I do know that compiling XFree86 with a June 2002 GCC 3.1.1 prerelease > works fine on AMD x86-64 running SuSE with -O2 and -march specifying the > Hammer. You might want to try the attached code-snippet I grabbed from the gcc GNATS. It manages to ICE 3.1 and 3.2 with a lot of optimizations, including pentium2/3/4 and athlon-* and is believed to trigger the same bug that borks XFree86 here. Compile with gcc -O -march= -c clacrt.c Regards, -- Michael Nottebrock "And the reasons? There are no reasons." --------------050107050907010503000107 Content-Type: text/x-csrc; name="clacrt.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="clacrt.c" void foo () { struct { float x, y; } c, *cp; static float z; while (1) { c.y = cp->y + cp->y; z = c.y + 1.0; } } --------------050107050907010503000107-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message