From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: Bruno Haible <bruno@clisp.org>
Cc: cygwin@cygwin.com
Subject: Re: feraiseexcept does not raise traps in Cygwin
Date: Tue, 31 Oct 2023 13:33:59 +0100 [thread overview]
Message-ID: <ZUD0Nzpmy2S4H2N1@calimero.vinschen.de> (raw)
In-Reply-To: <39807966.XM6RcZxFsP@nimes>
Hi Bruno,
On Oct 25 11:21, Bruno Haible via Cygwin wrote:
> Hi,
>
> Seen on
> - Cygwin 3.4.6 or 2.9.0 on x86_64.
> - Cygwin 2.9.0 on i386.
>
> According to ISO C 23 § 7.6.4.3
> "The feraiseexcept function attempts to raise the supported floating-point
> exceptions represented by its argument. 266)
> Footnote 266) The effect is intended to be similar to that of floating-point
> exceptions raised by arithmetic operations. Hence, implementation extensions
> associated with raising a floating-point exception (for example, enabled
> traps or IEC 60559 alternate exception handling) should be honored."
>
> This does not work. How to reproduce:
> [...]
Thanks for the report and the simple testcase. I checked in a patch.
It will be in the test build cygwin-3.5.0-0.450.g2ef627c46eb2 in an
hour or two, if you want to give it a try.
Thanks again,
Corinna
prev parent reply other threads:[~2023-10-31 12:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-25 9:21 Bruno Haible
2023-10-25 22:39 ` feraiseexcept does not raise traps in newlib on x86/_64 [was Cygwin] Brian Inglis
2023-10-31 12:33 ` Corinna Vinschen [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZUD0Nzpmy2S4H2N1@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=bruno@clisp.org \
--cc=cygwin@cygwin.com \
/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).