Bug 15655 - SH missing fgetexcptflg.c
Summary: SH missing fgetexcptflg.c
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: math (show other bugs)
Version: 2.17
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-19 22:58 UTC by Joseph Myers
Modified: 2014-06-13 15:03 UTC (History)
2 users (show)

See Also:
Host: sh*-*
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
A patch (807 bytes, patch)
2013-06-20 11:30 UTC, Kaz Kojima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Myers 2013-06-19 22:58:13 UTC
SH is missing fgetexcptflg.c, so it gets the fallback stub implementation of fegetexceptflag rather than a real implementation.  Since sysdeps/sh/sh4/fpu has real implementations of the other <fenv.h> functions, this looks like an oversight.
Comment 1 Kaz Kojima 2013-06-20 11:30:24 UTC
Created attachment 7087 [details]
A patch

Clearly, I've missed it.  How about the attached patch?
Comment 2 jsm-csl@polyomino.org.uk 2013-06-20 16:37:02 UTC
The patch seems plausible.
Comment 3 Kaz Kojima 2013-06-21 22:50:42 UTC
Fixed.