Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
profile guided optimizations are not available with OpenMP
You will not be able to link with /LTCG:PGI any module that was compiled with /GL.
The following sample generates C1310:
// C1310.cpp
// compile with: /openmp /GL /link /LTCG:PGI
// C1310 expected
int main()
{
int i = 0, j = 10;
#pragma omp parallel
{
#pragma omp for
for (i = 0; i < 0; i++)
--j;
}
}