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

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

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
Starting to think this is a bug in the generic narrowing code:

hread 7.1 "test-narrowing-" hit Breakpoint 4, 0xf9224470 in __GI_fetestexcept
    (excepts=1) at ../sysdeps/hppa/fpu/ftestexcept.c:32
32      in ../sysdeps/hppa/fpu/ftestexcept.c
(gdb) p/x $ret0
$1 = 0x10
(gdb) p/x $r26
$2 = 0x1
(gdb) bt
#0  0xf9224470 in __GI_fetestexcept (excepts=1)
    at ../sysdeps/hppa/fpu/ftestexcept.c:32
#1  0xf9265da0 in default_libc_feupdateenv_test (e=0xf9b015c8, ex=1)
    at ../sysdeps/generic/fenv_private.h:133
#2  __fdiv (x=0, y=0) at ../sysdeps/ieee754/dbl-64/s_fdiv.c:32
#3  0x000113f4 in do_test () at test-narrowing-trap.c:41
#4  0x00011c54 in run_test_function (argc=1, argv=0x7ff40000, config=0x0)
    at support_test_main.c:244
#5  0x00012604 in support_test_main (argc=0, argv=0x7ff40000,
    config=0xf9b01388) at support_test_main.c:468
#6  0x00011114 in main (argc=1, argv=0xf9b01024)
    at ../support/test-driver.c:179

FE_INVALID is 0x16 on hppa.

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