projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc692b4
)
* gcc.dg/torture/pr91323.c: Also check comparison results.
author
Uros Bizjak
<uros@gcc.gnu.org>
Fri, 2 Aug 2019 12:21:40 +0000
(14:21 +0200)
committer
Uros Bizjak
<uros@gcc.gnu.org>
Fri, 2 Aug 2019 12:21:40 +0000
(14:21 +0200)
From-SVN: r274008
gcc/testsuite/gcc.dg/torture/pr91323.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.dg/torture/pr91323.c
b/gcc/testsuite/gcc.dg/torture/pr91323.c
index 3da2dfbe2dbce32635795a0937bbee1cfd0c594f..ce0d7f3cb2bbc9bc96a7ac0a4287848f15af68bf 100644
(file)
--- 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;