From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id E07F541094 for ; Wed, 13 Nov 2002 12:41:41 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gADHffJ28754 for axp-list@listman.redhat.com; Wed, 13 Nov 2002 12:41:41 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gADHffD28750 for ; Wed, 13 Nov 2002 12:41:41 -0500 Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gADHISw30865 for ; Wed, 13 Nov 2002 12:18:28 -0500 Received: from fwd04.sul.t-online.de by mailout04.sul.t-online.com with smtp id 18C1WG-00018v-06; Wed, 13 Nov 2002 18:41:40 +0100 Received: from juist (520046482682-0001@[80.131.73.246]) by fmrl04.sul.t-online.com with esmtp id 18C1W4-1Gtw3sC; Wed, 13 Nov 2002 18:41:28 +0100 Received: from falk by juist with local (Exim 3.36 #1 (Debian)) id 18C1W0-0001De-00 for ; Wed, 13 Nov 2002 18:41:24 +0100 X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2 <877kfhh6e3.fsf@student.uni-tuebingen.de> <200211131109.59664.kelledin+AXP@skarpsey.dyndns.org> From: Falk Hueffner Date: 13 Nov 2002 18:41:24 +0100 In-Reply-To: <200211131109.59664.kelledin+AXP@skarpsey.dyndns.org> Message-ID: <87d6p9gyez.fsf@student.uni-tuebingen.de> User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (broccoli) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Sender: 520046482682-0001@t-dialin.net X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Kelledin writes: > On Wednesday 13 November 2002 08:49 am, Falk Hueffner wrote: > > Are you sure it isn't rather caused by gcc optimizing > > printf("foo\n") > > to > > puts("foo") > > ? > > > > (Yes, it really does that. Pretty clever, eh?) > > Yikes, that would do it. > > My next question would be, how do we keep gcc from doing that? I > assume it's some spanking-new feature in gcc3... -ffreestanding. Unfortunately, that will turn off all builtin handling, like expanding memcpy inline. One can work around that with #define memcpy __builtin_memcpy. Perhaps it's just easier to provide a puts, though... -- Falk