https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111403
--- Comment #8 from Chenghui Pan <panchenghui at loongson dot cn> --- (In reply to Xi Ruoyao from comment #4) > After r14-5545 this issue became latent. > > And at some point before r14-5545 this issue became nondeterministic: a > compiled program *sometimes* crashes. Really strange... After applying this commit, GCC does not apply loop peeling while processing the openmp reduction directive, which I think is the spawn point of the problematic codes (According to Guo Jie's sample).