Re: [PATCH] Fix complex float handling for 64-bit SPARC

David Miller
2012-04-07T20:47:43Z

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.