https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111701
Roger Sayle <roger at nextmovesoftware dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roger at nextmovesoftware dot com --- Comment #2 from Roger Sayle <roger at nextmovesoftware dot com> --- A patch to provide a possible solution/workaround has been proposed at https://gcc.gnu.org/pipermail/gcc-patches/2024-April/650054.html With that change, compiling the code in the original description with the -fsignaling-nans command line option, avoids the abort.