https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729
Bug ID: 70729 Summary: Loop marked with omp simd pragma is not vectorized Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ysrumyan at gmail dot com Target Milestone: --- Analyzing performance of one important benchmark we found out that one of the hot loop is no vectorized since loop-invariant load of the class member has not been hoisted out of loop although loop was marked with omp simd pragma. Test-case to reproduce is attached.