From owner-p4-projects@FreeBSD.ORG Wed Apr 23 21:44:07 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B487237B404; Wed, 23 Apr 2003 21:44:06 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 544EC37B401 for ; Wed, 23 Apr 2003 21:44:06 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD3F043F75 for ; Wed, 23 Apr 2003 21:44:05 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3O4i50U012823 for ; Wed, 23 Apr 2003 21:44:05 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3O4i5wI012815 for perforce@freebsd.org; Wed, 23 Apr 2003 21:44:05 -0700 (PDT) Date: Wed, 23 Apr 2003 21:44:05 -0700 (PDT) Message-Id: <200304240444.h3O4i5wI012815@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 29582 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 04:44:07 -0000 http://perforce.freebsd.org/chv.cgi?CH=29582 Change 29582 by peter@peter_daintree on 2003/04/23 21:43:41 work around a gcc-3.3 x86-64 bug. there's a similar workaround in subr_hints.c this may be specific to the -mcmodel=medium setting. Affected files ... .. //depot/projects/hammer/sys/net/radix.c#4 edit Differences ... ==== //depot/projects/hammer/sys/net/radix.c#4 (text+ko) ==== @@ -451,7 +451,7 @@ /* * Trim trailing zeroes. */ - for (cp = addmask_key + mlen; (cp > addmask_key) && cp[-1] == 0;) + for (cp = addmask_key + mlen; (cp > addmask_key) && *(cp - 1) == 0;) cp--; mlen = cp - addmask_key; if (mlen <= skip) {