This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: gdb/gdbtk/generic/gdbtk-stack.c - fail due to strict aliasing
- From: Keith Seitz <keiths at redhat dot com>
- To: Alon Bar-Lev <alon dot barlev at gmail dot com>
- Cc: insight at sourceware dot org
- Date: Mon, 27 Oct 2008 11:42:17 -0700
- Subject: Re: gdb/gdbtk/generic/gdbtk-stack.c - fail due to strict aliasing
- References: <200810260107.31955.alon.barlev@gmail.com>
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