From owner-cvs-all Mon Sep 10 9:21:18 2001 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id E40DE37B409; Mon, 10 Sep 2001 09:21:08 -0700 (PDT) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id f8AGKQF63643; Mon, 10 Sep 2001 09:20:26 -0700 (PDT) (envelope-from obrien) Date: Mon, 10 Sep 2001 09:20:26 -0700 From: "David O'Brien" To: Mark Murray Cc: Peter Wemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern subr_prf.c src/sys/sys systm.h Message-ID: <20010910092026.B63536@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <200109100145.f8A1jbI67312@freefall.freebsd.org> <200109100930.f8A9UBE97152@grimreaper.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109100930.f8A9UBE97152@grimreaper.grondar.za>; from mark@grondar.za on Mon, Sep 10, 2001 at 10:30:09AM +0100 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 10, 2001 at 10:30:09AM +0100, Mark Murray wrote: > > This hack brought to you by some questionable ``optimizations'' in gcc-3. > > gcc-3 takes it apon itself to convert: > > printf("string\n") -> puts("string"); > > and: > > printf("a"); -> putchar('a') > > etc. I dont know what they've been smoking over there in gcc-land, but > > it must be pretty good stuff. > > This "optimzation" on the part of GCC is extremely rude, IMVHO. Is there > a way (#define ?) of permanently disabling it? You are free to read the gcc@gcc.gnu.org mailing list to see the discussions about this and their reasoning. [and that is certainly the response we would give someone that thinks we are doing something very stupidly wrong] -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message