This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ARM half-precision floating point, 2/8 (optabs bug fix)


On Thu, Apr 16, 2009 at 12:19 AM, Sandra Loosemore
<sandra@codesourcery.com> wrote:
> This patch fixes a bug I ran into in optabs.c while working on the
> half-precision float support. ?Seeing as though this is a storage
> format only, we don't have any arithmetic or comparison optab support
> for HFmode, and this code was getting a SEGV by dereferencing a null
> pointer.

THis is ok.

Thanks,
Richard.

> -Sandra
>
>
> 2009-04-15 ?Sandra Loosemore ?<sandra@codesourcery.com>
>
> ? ? ? ?gcc/
> ? ? ? ?* optabs.c (prepare_float_lib_cmp): ?Test that the comparison,
> ? ? ? ?swapped, and reversed optabs exist before trying to use them.
>
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]