https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106054
--- Comment #4 from Di Zhao <dizhao at os dot amperecomputing.com> --- (In reply to Andrew Pinski from comment #3) > From https://www.spec.org/cpu2017/Docs/benchmarks/505.mcf_r.html: > >The module spec_qsort.c does not obey strict ANSI aliasing rules. You may > >need to add your compiler's flag that informs it not to assume strict ANSI > >compliance. I tried the "-fno-strict-aliasing" option and it works. Apologize for not noticing this. Thanks a lot!