Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29277 Discussions

Check array and string bound in Release build

sfcaustx
Beginner
426 Views

I had "Check array and string bound" turned on in debug build. Everything runs fine. But when I build the release build, it started problems if I also tuen it on. When I turn it off for release build, things become normal. Why the difference? Should I turn it of for release build? Thanks for your help.

0 Kudos
2 Replies
TimP
Honored Contributor III
426 Views
Without source line tagging or debug symbols, the checking may not be so useful. Including these options in a useful way may hinder optimization, but they should work. Could you submit an example on your premier.intel.com account?
0 Kudos
sfcaustx
Beginner
426 Views
I figured out later that the problem was caused by another problem that one of the variable was not initialized. Thanks for taking care my post.
0 Kudos
Reply