From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8547 invoked by alias); 27 Oct 2008 18:43:04 -0000 Received: (qmail 8539 invoked by uid 22791); 27 Oct 2008 18:43:03 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 27 Oct 2008 18:42:28 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m9RIgPLH023755; Mon, 27 Oct 2008 14:42:25 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m9RIgOJo011985; Mon, 27 Oct 2008 14:42:24 -0400 Received: from lindt.uglyboxes.com (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m9RIgISX023978; Mon, 27 Oct 2008 14:42:21 -0400 Message-ID: <49060B89.2000406@redhat.com> Date: Mon, 27 Oct 2008 18:43:00 -0000 From: Keith Seitz User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Alon Bar-Lev CC: insight@sourceware.org Subject: Re: gdb/gdbtk/generic/gdbtk-stack.c - fail due to strict aliasing References: <200810260107.31955.alon.barlev@gmail.com> In-Reply-To: <200810260107.31955.alon.barlev@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00008.txt.bz2 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