From 0c60e39e2574c5a315ac5c94c19642331cd06504 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 2 Aug 2019 14:21:40 +0200 Subject: [PATCH] * gcc.dg/torture/pr91323.c: Also check comparison results. From-SVN: r274008 --- gcc/testsuite/gcc.dg/torture/pr91323.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/gcc.dg/torture/pr91323.c b/gcc/testsuite/gcc.dg/torture/pr91323.c index 3da2dfbe2db..ce0d7f3cb2b 100644 --- a/gcc/testsuite/gcc.dg/torture/pr91323.c +++ b/gcc/testsuite/gcc.dg/torture/pr91323.c @@ -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; -- 2.30.2