libc should know how many FPU exceptions there are
The code to to support sigfpe handlers takes the number of floating point exceptions from a header from libm (previously in devpro).
It's been wrong since I think at least 1994.
That's a pretty good indication nobody really uses it, but fixing it to make smatch and the compiler happy seems sensible
Updated by Electric Monk over 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 618d207ffd5dca94c4a4715afd5a15b0025530ea Author: Richard Lowe <email@example.com> Date: 2019-03-15T23:45:07.000Z 10495 libc should know how many FPU exceptions there are Reviewed by: Jason King <firstname.lastname@example.org> Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: Gergő Mihály Doma <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Approved by: Gordon Ross <firstname.lastname@example.org>