Code crashed when optimization set with processor specific switches.
I am using windows IVF 2011 XE Update4 for X86 compiler 32. I have a dynamic array of a user defined type data which include a dynamic array, such as
real, dimension(:),allocatable:: m_fMemArray
At the program end, I have a deallocation of
This code runs fine in debug mode, in release mode. However, when I set the option of "Code Generation" as:
Enable Enhanced Instruction Set: Streaming SIMD Extension 2/arch:SSE2
Add Processor-OPptimized Code Path None (or Intel Netburst Microarchitecture and Pentium M...)
Intel Processor Specific Optimization Intel Netburst Microarchitecture and Pentium M...
The code will crash at the time when trying to deallocate the data array. Such optimization has been working in the previous compilers.
Is this a bug of compiler or possibly anything wrong on my side.
If anyone can point me to the right direction, it will be much appreciated.