[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 21 11:03:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #15 from Iain Sandoe <iains at gcc dot gnu.org> ---
by coincidence (triaging Darwin bugs at the moment) I was looking at this last
night.

An alternative, for platforms with math_errhandling and which use
MATH_ERREXCEPT, (Darwin and a couple of others) could be to arrange for the
tests to check the exception conditions when MATH_ERREXCEPT is set in
math_errhandling and errno otherwise (I was thinking of looking into adding an
extra field to the TEST macro for the exception bit value).

However, if there's not 1:1 mapping (it could be that the exception bits are
more fine-grained), then perhaps better to skip the test and add a similar one
that is keyed off the exception bits instead.


More information about the Gcc-bugs mailing list