From owner-freebsd-current@FreeBSD.ORG Sun May 11 17:19:06 2003 Return-Path: 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 29E8737B401 for ; Sun, 11 May 2003 17:19:06 -0700 (PDT) Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by mx1.FreeBSD.org (Postfix) with SMTP id 4F75543F3F for ; Sun, 11 May 2003 17:19:01 -0700 (PDT) (envelope-from jos@catnook.com) Received: (qmail 56060 invoked by uid 1000); 12 May 2003 00:19:22 -0000 Date: Sun, 11 May 2003 17:19:00 -0700 From: Jos Backus To: freebsd-current@freebsd.org Message-ID: <20030512001922.GB45991@lizzy.catnook.com> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: FreeBSD gcc bug w.r.t. src/lib/libz/infcodes.c fixed? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jos@catnook.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 00:19:06 -0000 I'm curious: src/lib/libz/infcodes.c has { /* XXX work around a gcc bug. */ volatile inflate_blocks_statef *s1 = s; while (f < s1->window) /* modulo window size-"while" instead */ f += s1->end - s1->window; /* of "if" handles invalid distances */ } IIrc, Bruce Evans came up with this workaround. Does anyone know if this bug has been fixed? It also pertains to net/rsync (patch-infcodes.c). -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos at catnook.com _/_/ _/_/_/ require 'std/disclaimer'