Commit 0c60e39e by Uros Bizjak

* gcc.dg/torture/pr91323.c: Also check comparison results.

From-SVN: r274008
parent cc692b4c
......@@ -36,15 +36,15 @@ main (void)
feclearexcept (FE_INVALID);
r = f1 (nanf, argf);
if (fetestexcept (FE_INVALID))
if (r != 0 || fetestexcept (FE_INVALID))
__builtin_abort ();
r = f2 (nanf, argf);
if (fetestexcept (FE_INVALID))
if (r != 0 || fetestexcept (FE_INVALID))
__builtin_abort ();
r = f3 (nanf, argf);
if (!fetestexcept (FE_INVALID))
if (r != 0 || !fetestexcept (FE_INVALID))
__builtin_abort ();
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment