From 1b14edc01b2e65f8c93f0719309662b098e7131d Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 19 Aug 2020 07:16:29 +0000 Subject: [js] Reinstate precise floating point model for all js sources. --- js/src/moz.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/src/moz.build b/js/src/moz.build index c0cef9929..3e6402f71 100644 --- a/js/src/moz.build +++ b/js/src/moz.build @@ -687,8 +687,8 @@ if CONFIG['_MSC_VER']: elif CONFIG['CPU_ARCH'] == 'x86_64' and CONFIG['JS_HAS_CTYPES']: SOURCES['ctypes/CTypes.cpp'].no_pgo = True # Bug 810661 # Prevent floating point errors caused by VC++ optimizations - # XXX We should add this to CXXFLAGS, too? CFLAGS += ['-fp:precise'] + CXXFLAGS += ['-fp:precise'] # C4805 warns mixing bool with other integral types in computation. # But given the conversion from bool is specified, and this is a # pattern widely used in code in js/src, suppress this warning here. -- cgit v1.2.3