Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270420AbTHETFs (ORCPT ); Tue, 5 Aug 2003 15:05:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270429AbTHETFs (ORCPT ); Tue, 5 Aug 2003 15:05:48 -0400 Received: from holomorphy.com ([66.224.33.161]:34694 "EHLO holomorphy") by vger.kernel.org with ESMTP id S270420AbTHETFq (ORCPT ); Tue, 5 Aug 2003 15:05:46 -0400 Date: Tue, 5 Aug 2003 12:06:59 -0700 From: William Lee Irwin III To: Hugh Dickins Cc: Jeff Garzik , linux-kernel@vger.kernel.org Subject: Re: [PATCH] revert to static = {0} Message-ID: <20030805190659.GT32488@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Hugh Dickins , Jeff Garzik , linux-kernel@vger.kernel.org References: <20030805174429.GA26933@gtf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: The Domain of Holomorphy User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 730 Lines: 18 On Tue, 5 Aug 2003, Jeff Garzik wrote: >> If it's const, it shouldn't be linked into anything at all... right? On Tue, Aug 05, 2003 at 07:51:41PM +0100, Hugh Dickins wrote: > Sorry, Jeff, I don't get your point. I suspect this assumes const values will get constant folded, which I'm not sure is the case, though it certainly sounds legal and worthwhile for a compiler to do when reasonable (i.e. for small structures and/or extractions of small fields of const structures). -- wli - 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/