Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753796AbXFXXH2 (ORCPT ); Sun, 24 Jun 2007 19:07:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751409AbXFXXHS (ORCPT ); Sun, 24 Jun 2007 19:07:18 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:51816 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751081AbXFXXHR (ORCPT ); Sun, 24 Jun 2007 19:07:17 -0400 Date: Mon, 25 Jun 2007 00:07:15 +0100 From: Al Viro To: Neil Booth Cc: Segher Boessenkool , Linus Torvalds , linux-kernel@vger.kernel.org, linux-sparse@vger.kernel.org Subject: Re: [PATCH 16/16] fix handling of integer constant expressions Message-ID: <20070624230715.GF21478@ftp.linux.org.uk> References: <20070624174732.GZ21478@ftp.linux.org.uk> <20070624183547.GA21478@ftp.linux.org.uk> <1a25667a20e43a072f733a3ec2b8e79d@kernel.crashing.org> <20070624203837.GE21478@ftp.linux.org.uk> <20070624214253.GL7590@daikokuya.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070624214253.GL7590@daikokuya.co.uk> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 672 Lines: 21 On Mon, Jun 25, 2007 at 06:42:53AM +0900, Neil Booth wrote: > > such a big deal... Parser would need to accept > > ident ( \[ expr \] | . ident )* > > don't forget -> if you're going to accept extra stuff. GCC forgot -> > with the parser rewrite, yes I filed a PR. In offsetof() second argument??? Ah, hell... You mean the situations like offsetof(struct foo, x->a) in struct foo { struct { int a; } x[10]; }; OK... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/