i under stand that out of bounds arrays can be detected using the -CB flag. the diagonistic flag -d1 or d2 prints certail messages. However I am not able to figure out from them which array is out of bounds. Is there some documentation which describes what the -d1 or -d2 level of diagonistics print out? How can one print them to a file instead of screen.
For more complete information about compiler optimizations, see our Optimization Notice.