fd16ce12c7
No floating-point exception traps on RISC-V. Also don't pass the result of divide-by-zero converted to integer to usleep. Although the floating-point result of divide-by-zero is well-defined by IEEE 754 (+/-infinity), the outcome of C conversion to integer is not. And while on some architectures this might return zero, on RISC-V it looks like it'll return all bits set. And as of PR 58184, usleep now honours sleeps longer than 1sec, which means this will be waiting at least two billion microseconds, or about half an hour... So instead, just write the result to a volatile variable. |
||
---|---|---|
.. | ||
arch/aarch64 | ||
kqueue | ||
threadpool_tester | ||
tty | ||
Makefile | ||
Makefile.inc | ||
gen_t_subr_prf | ||
h_fexecve.c | ||
h_fpufork.c | ||
h_getprocpath.c | ||
h_interpreter.sh | ||
h_ps_strings1.c | ||
h_ps_strings2.c | ||
h_segv.c | ||
t_epoll.c | ||
t_extattrctl.c | ||
t_extent.c | ||
t_fcntl.c | ||
t_fdrestart.c | ||
t_fexecve.sh | ||
t_filedesc.c | ||
t_fpufork.sh | ||
t_interp.sh | ||
t_kauth_pr_47598.c | ||
t_ksem.c | ||
t_lock.c | ||
t_lockf.c | ||
t_magic_symlinks.sh | ||
t_memfd_create.c | ||
t_mqueue.c | ||
t_nointerpreter.sh | ||
t_open_pr_57260.c | ||
t_origin.sh | ||
t_proccwd.c | ||
t_procpath.sh | ||
t_ps_strings.sh | ||
t_pty.c | ||
t_rnd.c | ||
t_signal_and_sp.c | ||
t_simplehook.sh | ||
t_sysctl.c | ||
t_sysv.c | ||
t_timeleft.c | ||
t_trapsignal.sh | ||
t_umount.sh | ||
t_umountstress.sh | ||
t_zombie.c |