#pragma omp without omp option turned on change compiler behaviour
when I add a #pragma omp before a for loop in one function into a file for which the openMP option is turned off, the Intel compiler stops auto-vectorizing an unrelated for loop in an unrelated function.!??!
Actually, there is a random bug, because when I compile the file a second type, it sometimes compiles right.
I use the Compiler Integration Package v11.0.759.2005 in Visual Studio 2005.
Within the term of your license or renewal, all updates are available to you at https://registrationcenter.intel.com. If the function in question is affected by your request for maximum aggressive inter-procedural optimization, an omp directive on its caller may have an effect. This would be expected, where loop interchanges are required to enable vectorization, as the omp parallel forces the designated loop to remain the outer loop. In such a case, nesting your loops correctly so as to place the vectorizable loop inside is likely to be necessary in order to gain combined vector and parallel performance.