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.
Created attachment 7087 [details] A patch Clearly, I've missed it. How about the attached patch?
The patch seems plausible.
Fixed.