From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16737 invoked by alias); 4 Dec 2001 16:24:17 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 16602 invoked from network); 4 Dec 2001 16:24:10 -0000 Received: from unknown (HELO imo-d07.mx.aol.com) (205.188.157.39) by sources.redhat.com with SMTP; 4 Dec 2001 16:24:10 -0000 Received: from smallmeter@netscape.net by imo-d07.mx.aol.com (mail_out_v31_r1.9.) id s.2.271e473 (16216); Tue, 4 Dec 2001 11:22:01 -0500 (EST) Received: from netscape.com (mow-d02.webmail.aol.com [205.188.138.66]) by air-in01.mx.aol.com (v82.22) with ESMTP id MAILININ14-1204112201; Tue, 04 Dec 2001 11:22:01 -0500 Date: Tue, 04 Dec 2001 08:24:00 -0000 From: smallmeter@netscape.net To: drow@mvista.com (Daniel Jacobowitz), minyard@acm.org (Corey Minyard) Cc: gcc@gcc.gnu.org Subject: RE: Re: Optimization of strcpy with an offset outside the string Message-ID: <5C00F128.632E7B29.1080C68E@netscape.net> X-Mailer: Atlas Mailer 1.0 Content-Type: text/plain; charset=iso-8859-1 X-SW-Source: 2001-12/txt/msg00128.txt.bz2 Daniel Jacobowitz wrote: >On Mon, Dec 03, 2001 at 08:45:26PM -0600, Corey Minyard wrote: >> In the PowerPC Linux kernel, at some points in time the reference to >> some constant data is at an offset (because the MMU is not set up yet). >> So you see expressions like: >> >> print("test" + offset); >> >Is this still in the current PPC kernels? Current stock 2.4.16. I'm not using the PPC development kernels. > >Franz raised this issue several months ago, and I believe the verdict >was that it was illegal. Sounds good to me. > >I personally wouldn't mind a warning being generated, though! How could we generate a warning? They don't know the value of the offset, and it may be perfectly legal. -Corey -- __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/