------- Comment #2 from tobias dot burnus at physik dot fu-berlin dot de 2006-09-10 19:23 ------- Maybe this should not be done with -fbounds-check, but put into a different option. (NAG uses not -C=array but -C=call for this.)
The reason is that some programs (e.g. Exciting.sf.net) passes an array(n-1) to a subroutine foo(n,b) with "real :: b(n)" but only accesses the first n-1 elements. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27989