From owner-freebsd-current@FreeBSD.ORG Fri Jan 2 01:24:23 2015 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CAD6F182 for ; Fri, 2 Jan 2015 01:24:23 +0000 (UTC) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F64910BD for ; Fri, 2 Jan 2015 01:24:22 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 8AF6925D3A93 for ; Fri, 2 Jan 2015 01:24:13 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 41A17C770F2 for ; Fri, 2 Jan 2015 01:24:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id rd-qLGQJhQIL for ; Fri, 2 Jan 2015 01:24:11 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4410:5c3c:d71c:3abc:d59] (unknown [IPv6:fde9:577b:c1a9:4410:5c3c:d71c:3abc:d59]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id A7BB1C77042 for ; Fri, 2 Jan 2015 01:24:11 +0000 (UTC) From: "Bjoern A. Zeeb" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: asr(4) error with new clang/llvm Message-Id: Date: Fri, 2 Jan 2015 01:23:39 +0000 To: FreeBSD Current Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) X-Mailer: Apple Mail (2.1993) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2015 01:24:23 -0000 Hi, you need the next line of source to see that while the union only = defines Simple[1], the comparison goes up to SG_LIST (or something) = which is indeed defined as 58. Cn someone fix this? This makes i386 = compiles failing currently. /scratch/tmp/bz/head.svn/sys/modules/asr/../../dev/asr/asr.c:1849:29: = error: array index 58 is past the end of the array (which contains 1 = element) [-Werror,-Warray-bounds] while ((len > 0) && (sg < &((PPRIVATE_SCSI_SCB_EXECUTE_MESSAGE) ^ /scratch/tmp/bz/head.svn/sys/dev/asr/i2omsg.h:934:8: note: array = 'Simple' declared here I2O_SGE_SIMPLE_ELEMENT Simple[1]; ^ =E2=80=94=20 Bjoern A. Zeeb Charles Haddon Spurgeon: "Friendship is one of the sweetest joys of life. Many might have failed beneath the bitterness of their trial had they not found a friend."