Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 11 Jun 2005 16:37:53 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: gcc 3.4.4 optimization problem (was Re: Negative stats from rsync with 20050610 snapshot) Message-ID: <20050611203753.GA30137@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <42AA611A DOT 2050605 AT acm DOT org> <20050611145713 DOT GA11065 AT calimero DOT vinschen DOT de> <42AB16FA DOT 4000701 AT familiehaase DOT de> <20050611183332 DOT GA28883 AT trixie DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050611183332.GA28883@trixie.casa.cgf.cx> User-Agent: Mutt/1.5.8i On Sat, Jun 11, 2005 at 02:33:32PM -0400, Christopher Faylor wrote: >I did a little more debugging on this and it seems like, in this case at >least, the problem is that the newlib code is wrong. Compiling it with >-Wstrict-aliasing revealed a problem. Correcting the strict aliasing problem >seems to make rsync work better. There are also two other strict error >warnings in newlib which I'll fix. I've generated a new snapshot which seems to fix these problems and I've sent the patches to the newlib mailing list: http://cygwin.com/ml/newlib/2005/msg00334.html The patch for vfprintf.c is the change that made a difference for rsync. As I type this, I wonder if the changes to ldtoa actually accomplish anything. It's possible that I just shuffled thing around there and did nothing useful. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/