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:
Author: Joseph Myers <firstname.lastname@example.org>
Date: Mon Jun 17 17:20:23 2013 +0000
Make ARM feenableexcept detect failure (bug 14907).