X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Thu, 28 Feb 2002 20:54:57 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: sandmann AT clio DOT rice DOT edu Message-Id: <3405-Thu28Feb2002205457+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <10202281740.AA14225@clio.rice.edu> (sandmann@clio.rice.edu) Subject: Re: v2.03 refresh++ diffs [was bzero...] References: <10202281740 DOT AA14225 AT clio DOT rice DOT edu> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > Date: Thu, 28 Feb 2002 11:40:50 -0600 (CST) > > > Is the built-in used even when compiling without optimizations? > > Yes, it appears so (if GCC >= 3, even without -O, -S shows inlined code). How about -fno-builtin? > Is this a problem? If the compiler sometimes picks up the builtin and sometimes the library version (which behaves differently as far as the return value is concerned), we could have subtle and hard-to-debug problems which appear and disappear depending on the compiler switches.