This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug soft-fp/15667] New: __FP_FRAC_ADD_3 shadowing variables in _FP_MUL_MEAT_2_wide_3mul
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 22 Jun 2013 11:40:59 +0000
- Subject: [Bug soft-fp/15667] New: __FP_FRAC_ADD_3 shadowing variables in _FP_MUL_MEAT_2_wide_3mul
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15667
Bug ID: 15667
Summary: __FP_FRAC_ADD_3 shadowing variables in
_FP_MUL_MEAT_2_wide_3mul
Product: glibc
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: soft-fp
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
CC: joseph at codesourcery dot com
The soft-fp macro __FP_FRAC_ADD_3 defines variables _c1 and _c2. The macro
_FP_MUL_MEAT_2_wide_3mul defines its own variables with those names and calls
__FP_FRAC_ADD_3 with arguments involving them, yielding erroneous results when
the wrong variables get used.
(I don't think this actually affects the current uses of soft-fp in glibc on
any architecture; it came up while testing a patch adding new uses. But it
seems appropriate to file this in Bugzilla anyway.)
--
You are receiving this mail because:
You are on the CC list for the bug.