math: Fix test-fenv.c feupdateenv tests
The feupdateenv tests added by 802aef27 do not restore the floating point mask, which might keep some floating point exception enabled and thus make the feupdateenv_single_test raise an unexpected signal. Checked on x86_64-linux-gnu and aarch64-linux-gnu (on Apple M1 trapping is supported). Reviewed-by:Szabolcs Nagy <szabolcs.nagy@arm.com>
Loading
Please register or sign in to comment