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: Wed, 28 Apr 2004 15:12:08 -0500 From: Brian Ford Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: g++ 3.4.0 cygwin, codegen SSE & alignement issues In-Reply-To: <20040428194454.GA1639@coe.bosbc.com> Message-ID: References: <408F2C65 DOT 4090804 AT ompf DOT org> <20040428190846 DOT GA9889 AT coe DOT bosbc DOT com> <20040428194454 DOT GA1639 AT coe DOT bosbc DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes On Wed, 28 Apr 2004, Christopher Faylor wrote: > On Wed, Apr 28, 2004 at 02:30:47PM -0500, Brian Ford wrote: > >Something already does. I didn't try and track down the what/why. [snip probably irrelevent assembly dump] > >This problem doesn't happen for the main thread. > > Nope. It must be happening in crt0.c. Sorry, I really need to pin that down for sure. I'll do that. > This patch looks reasonable (although I wonder at the need for > __builtin_return_address(1)). (quoting DJ) He wanted to force a full call frame. The call actually gets optimized away, but the desired effect remains, hence gcc "happens" to "do the right thing" tm. This is officially on Corinna's paid Red Hat plate for us now, so don't bother spending volunteer time on it ;-). > Interestingly enough, this wouldn't have been generically fixable prior > to Cygwin 1.5.6. I know, thanks. It was very easy given your work :-). -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- 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/