Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sat, 11 Jun 2005 16:37:53 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.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@cygwin.com
References: <42AA611A.2050605@acm.org> <20050611145713.GA11065@calimero.vinschen.de> <42AB16FA.4000701@familiehaase.de> <20050611183332.GA28883@trixie.casa.cgf.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/

