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.
Options used are :
/c /O2 /Ob1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /D "_VC80_UPGRADE=0x0710" /GF /EHsc /MT /GS /Gy /fp:fast /Fo".\Release/" /W3 /nologo /Qwd1125
I would like to have a more reliable compiler version. Could anyone here give me some advice on how to get that ?