This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Fix soft-fp shadowing between __FP_FRAC_ADD_3 and _FP_MUL_MEAT_2_wide_3mul (bug 15667)


From: "Joseph S. Myers" <joseph@codesourcery.com>
Date: Sat, 22 Jun 2013 12:10:59 +0000

> This patch fixes bug 15667, soft-fp variables _c1 and _c2 in
> __FP_FRAC_ADD_3 shadowing those in _FP_MUL_MEAT_2_wide_3mul.
> 
> I renamed the variables to include the full macro name.  Probably this
> should be done for all variables defined internally by any soft-fp
> macro (maybe using abbreviated versions of the macro names if the full
> names are too long and make the code too cumbersome); this patch
> simply addresses the particular case where shadowing actually occurs
> and shows up as test failures with the soft-fp fma patch I'll send
> separately after some further testing.
> 
> Tested on MIPS64 in conjunction with that fma patch.

Looks good, thanks for fixing this Joseph.


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