[LTP] [PATCH v2] waitid10: raise SIGFPE directly

Cyril Hrubis chrubis@suse.cz
Fri May 13 11:07:40 CEST 2022


Hi!
> Better to have code comments to explain the reason here,
> just for better readability.

What exactly should we comment there, something as:

Triggering SIGFPE by invalid instruction is not always possible, some
architectures does not trap division-by-zero at all and even when it's
possible we would have to fight the compiler optimizations that have
tendency to remove undefined operations.

> And vote for merging before the new release as well.

That's what I'm aiming for.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list