https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118922
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Yunbo Ni from comment #0) > This code triggers SIGKILL at -O2/3 Note that what you really mean here is "it times out", and godbolt just sends SIGKILL after hitting a timeout.