https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121469
--- Comment #4 from Theodore.Papadopoulo at inria dot fr --- I agree that using trunc and noreplace is a little bit contradictory. But the implementation already handles this in some other cases, so for consistency I think that something like the patch in attachment should be applied...