X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 079803858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1698755678; bh=sbiJeTLIZwTxRZ4pKcxxwMtPkMscwiZnPRfvNh0tdms=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=X7bwZvWTU3xM6MX6tBffmYj13vdbOu2s693ikbbRHcDA6Ij7rzoaMFzqluBPvVjoX xD82ntMo5OZigj3um05PafNKcqAwwil/iZUix6KU9Apix88ovptXl0NkZWr0boXcfy VHXT3coW7VNvUm+vY9JzN+hq0CLjwN6rMPjkyf6Y= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBAAF3858D1E Date: Tue, 31 Oct 2023 13:33:59 +0100 To: Bruno Haible Subject: Re: feraiseexcept does not raise traps in Cygwin Message-ID: Mail-Followup-To: Bruno Haible , cygwin AT cygwin DOT com References: <39807966 DOT XM6RcZxFsP AT nimes> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <39807966.XM6RcZxFsP@nimes> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen , cygwin AT cygwin DOT com Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 39VCYdMb013920 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple