unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Cyprien Nicolas <cyprien@nicolas.tf>
To: Mark H Weaver <mhw@netris.org>
Cc: 36338@debbugs.gnu.org
Subject: bug#36338: guile-2.2.5 fails to build with -ffast-math
Date: Sun, 7 Jul 2019 15:03:11 +0200	[thread overview]
Message-ID: <772d1c89-b786-8cd3-91f8-dbb94dce38f5@nicolas.tf> (raw)
In-Reply-To: <87lfxnrayy.fsf@netris.org>

On 27/06/2019 04:57, Mark H Weaver wrote:
> 
> Guile generally assumes that the underlying C implementation will be
> standards compliant.  -Ofast, -ffast-math and related options disregard
> standards compliance.  Among other things, -ffast-math implies
> -ffinite-math-only, which generates code that assumes that all floating
> point values are finite.  However, there's code in Guile's compiler that
> uses +inf.0 and -inf.0 and expects that they will behave as specified in
> IEEE-754.
> 
> So, in summary, I would say that Guile does not support being compiled
> with -Ofast, -ffast-math, or many of the options that -ffast-math
> implies.

Thank you for the clear and detailed explanation. It makes sense.

Cyprien





      reply	other threads:[~2019-07-07 13:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-23  9:00 bug#36338: guile-2.2.5 fails to build with -ffast-math Cyprien Nicolas
2019-06-27  2:57 ` Mark H Weaver
2019-07-07 13:03   ` Cyprien Nicolas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=772d1c89-b786-8cd3-91f8-dbb94dce38f5@nicolas.tf \
    --to=cyprien@nicolas.tf \
    --cc=36338@debbugs.gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).