https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90952
Hongtao.liu <crazylht at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crazylht at gmail dot com --- Comment #1 from Hongtao.liu <crazylht at gmail dot com> --- In the latest gcc version(GCC10_20190820), there's no difference in unroll factor when applying this patch. But still there's difference in Profitability threshold which changes from 5 to 4. That means if loop count less than Profitability threshold, it won't trigger vectorization. So if loop count is 4, runtime performance would be different otherwise they will be the same.