From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 28 10:09:15 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB6DE37B401 for ; Mon, 28 Apr 2003 10:09:15 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id A11A743F75 for ; Mon, 28 Apr 2003 10:09:14 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (dazwtc@localhost [127.0.0.1]) by lurza.secnetix.de (8.12.8p1/8.12.8) with ESMTP id h3SH9DB5034149 for ; Mon, 28 Apr 2003 19:09:13 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.8p1/8.12.8/Submit) id h3SH9Dau034148; Mon, 28 Apr 2003 19:09:13 +0200 (CEST) Date: Mon, 28 Apr 2003 19:09:13 +0200 (CEST) Message-Id: <200304281709.h3SH9Dau034148@lurza.secnetix.de> From: Oliver Fromme To: freebsd-hackers@FreeBSD.ORG In-Reply-To: <20030428175010.K77005@woozle.rinet.ru> X-Newsgroups: list.freebsd-hackers User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.8-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: x86-64 support X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-hackers@FreeBSD.ORG List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 17:09:16 -0000 Dmitry Morozovsky wrote: > In your particular case it does not work, at least under -stable (2.95); > moreover, it produces different (both wrong ;) output for -O and -O0 cases. > > Actually, it's all because f[] isn't large enough ;-) Yeah, sorry, I pasted from two different versions and borked it. It _does_ work, though, if the array is as big as the counter initialization. :-) Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "Any sufficiently advanced technology is indistinguishable from magic." Arthur C. Clarke's Third Law, from Profiles of the Future