https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118922
--- Comment #2 from Yunbo Ni <yunboni at smail dot nju.edu.cn> --- (In reply to Sam James from comment #1) > (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. Thanks for the clarification. I’ll keep that in mind.