> On Dec 20, 2016, at 7:00 AM, Matt Wette <matt.we...@gmail.com> wrote:
> 
> 
>> On Dec 7, 2016, at 11:55 AM, Andy Wingo <wi...@pobox.com 
>> <mailto:wi...@pobox.com>> wrote:
>> 
>> We are pleased to announce GNU Guile release 2.1.5.
>> 
>> Guile 2.1.5 is the fifth pre-release in what will eventually become the
>> 2.2 release series.  We encourage you to test this release and provide
>> feedback to guile-devel@gnu.org <mailto:guile-devel@gnu.org>.
> 

With the patch below I can get through all the tests on my Mac (macOS 10.12.2) 
if I use default flags (i.e., -g -O2) and gcc-4.9 (now verifying also w/ 
gcc-6.2).  The patch is a hack to get around an apparent optimization that 
thinks the sine of -0.0 is +0.0. 

Matt

--- libguile/numbers.c-orig     2016-11-21 13:56:23.000000000 -0800
+++ libguile/numbers.c  2016-12-20 14:43:58.000000000 -0800
@@ -9099,6 +9099,9 @@
 #undef FUNC_NAME
 
 SCM
+#ifdef __APPLE__
+__attribute__((optimize("O0")))
+#endif
 scm_c_make_polar (double mag, double ang)
 {
   double s, c;

Reply via email to