This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix complex float handling for 64-bit SPARC
- From: David Miller <davem at davemloft dot net>
- To: mark dot kettenis at xs4all dot nl
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 07 Apr 2012 16:47:26 -0400 (EDT)
- Subject: Re: [PATCH] Fix complex float handling for 64-bit SPARC
- References: <201204072017.q37KHeYH010978@glazunov.sibelius.xs4all.nl>
From: Mark Kettenis <mark.kettenis@xs4all.nl>
Date: Sat, 7 Apr 2012 22:17:40 +0200 (CEST)
> Looks like the 64-bit code you committed last year wasn't complete.
> There is a missing sparc64_complex_float_p() check, which results in a
> guarenteed assertion failure. The diff below fixes this and as a
> bonus also makes complex return values work. Makes the complex float
> tests in gdb.base/callfuncs.exp work with the OpenBSD system compiler
> (GCC 4.2.1). As far as I can tell this matches what's documented in
> the Sun Studio 12 Fortran Programming Guide.
>
> ok?
Looks good to me, thanks.