Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/gen PR/54000: Andreag Gustafsson: Compile the...



details:   https://anonhg.NetBSD.org/src/rev/2eb27e69193e
branches:  trunk
changeset: 456138:2eb27e69193e
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 24 15:12:09 2019 +0000

description:
PR/54000: Andreag Gustafsson: Compile the rounding test with
-fround-math since with gcc-7, the default mode ignores fenv settings
(the same effect can be achieved with -O0 :-)

https://gcc.gnu.org/wiki/FloatingPointMath

diffstat:

 tests/lib/libc/gen/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e8e84cf6286f -r 2eb27e69193e tests/lib/libc/gen/Makefile
--- a/tests/lib/libc/gen/Makefile       Wed Apr 24 15:04:51 2019 +0000
+++ b/tests/lib/libc/gen/Makefile       Wed Apr 24 15:12:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2017/02/09 03:27:07 christos Exp $
+# $NetBSD: Makefile,v 1.52 2019/04/24 15:12:09 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -40,6 +40,7 @@
 TESTS_C+=      t_vis
 
 CPPFLAGS.t_siginfo.c+=-D__TEST_FENV
+COPTS.t_fpsetround.c+=-frounding-math
 
 LDADD.t_siginfo+=      -lm
 DPADD.t_siginfo+=      ${LIBM}



Home | Main Index | Thread Index | Old Index