https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66862
--- Comment #1 from William Jordan <bill.jordan at intel dot com> --- Created attachment 35972 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35972&action=edit Disassembled code Assembly shows that code generated with #pragma omp simd is the same as without when the "for" loop contains an "if" statement. Without the "if" statement, the #pragma omp simd uses SIMD operations seen in not_floyds_w_omp_simd function.