The ARM implementation of feenableexcept should test whether the requested exceptions were set, and return -1 for failure if not, much like the fesetenv problem that was bug 14866.
(VFPv3 and VFPv4 do not support trapping exceptions, so feenableexcept will fail to enable them on processors with those VFP versions.)
Fixed for 2.18 by: commit 3023a72eb83751a23b01b6cb996fb81fe3abbcb6 Author: Joseph Myers <joseph@codesourcery.com> Date: Mon Jun 17 17:20:23 2013 +0000 Make ARM feenableexcept detect failure (bug 14907).