I have an executable that goes into an infinite loop before it executes the first line of code. I put a number of write statements at the start to see if they were hit. But It doesn't generate any output. The code has /Qopenmp and will have several threads eventually if that matters, and has calls to several DLLs eventually too. The same code built on another machine works fine. Any idea what it could be executing?
For more complete information about compiler optimizations, see our Optimization Notice.