From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Subject: Re: linux-next: manual merge of the rr tree Date: Wed, 7 Jan 2009 13:01:06 -0600 (CST) Message-ID: References: <20090105143239.08b1a060.sfr@canb.auug.org.au> <200901061134.49369.rusty@rustcorp.com.au> <200901071317.29141.rusty@rustcorp.com.au> <20090107172051.GK496@one.firstfloor.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from nlpi053.sbcis.sbc.com ([207.115.36.82]:36268 "EHLO nlpi053.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753090AbZAGTBz (ORCPT ); Wed, 7 Jan 2009 14:01:55 -0500 In-Reply-To: <20090107172051.GK496@one.firstfloor.org> Sender: linux-next-owner@vger.kernel.org List-ID: To: Andi Kleen Cc: Rusty Russell , Stephen Rothwell , linux-next@vger.kernel.org, Mike Travis , Ingo Molnar , Richard Henderson On Wed, 7 Jan 2009, Andi Kleen wrote: > The C standard says that arithmetic on pointers in defined objects outside > the boundaries of these objects (except for the special case of one beyond > the end for arrays) is undefined. The gcc optimizers take advantage > of this by assuming that such arithmetic doesn't wrap (and might have other > assumptions) Ok then we need to say so in a comment around RELOC_HIDE.