From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32284 invoked by alias); 30 Oct 2008 23:11:16 -0000 Received: (qmail 32179 invoked by uid 22791); 30 Oct 2008 23:11:15 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 30 Oct 2008 23:09:15 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KvecR-0006vd-Nx for insight@sources.redhat.com; Thu, 30 Oct 2008 20:59:52 +0000 Received: from 75.139.7.185 ([75.139.7.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Oct 2008 20:59:51 +0000 Received: from gds by 75.139.7.185 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Oct 2008 20:59:51 +0000 To: insight@sources.redhat.com From: Gene Smith Subject: Re: gdb/gdbtk/generic/gdbtk-stack.c - fail due to strict aliasing Date: Thu, 30 Oct 2008 23:11:00 -0000 Message-ID: References: <200810260107.31955.alon.barlev@gmail.com> <49060B89.2000406@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <49060B89.2000406@redhat.com> X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2008-q4/txt/msg00011.txt.bz2 Keith Seitz wrote: > Alon Bar-Lev wrote: > >> Reported as binutils bug#6986 [1] >> >> arguments = *(int*) &clientData; > > Thank you for the patch: it's not quite correct, but then the existing > code is completely wrong. That got really botched somehow: clientData is > an int, not an int*. I don't know how I messed that up. O:-) > > I've committed a proper fix. Or at least I think I have, since gcc 4.4.0 > no longer complains about this. Let me know if this still presents > problems for you. > > I'm remaking the snapshot to include this patch. > > Keith > 1027 SS won't build as pointed out other msg. When I manually apply this patch to 1021 SS it builds OK.