[Bug math/34306] FAIL: math/test-narrowing-trap

"danglin at gcc dot gnu.org via Glibc-bugs" <[email protected]> Mon, 22 Jun 2026 20:33:03 +0000
Newsgroups gmane.comp.lib.glibc.bugs
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=34306

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at xry111 dot site

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
Currently, sysdeps/hppa/fpu/feholdexcpt.c clears the exception enable flags
for nonstop mode.  Many other architectures do the same.

It is called from libc_feholdexcept_setround in ROUND_TO_ODD.  This clears
the FE_INVALID enable set in the test.  As a result, the child isn't signaled.

Is the test valid?  It seems to me that this is likely the reason loongarch
didn't trap and set SIGFPE.

-- 
You are receiving this mail because:
You are on the CC list for the bug.