------- Comment #3 from kargl at gcc dot gnu dot org 2006-09-29 04:30 ------- I failed to not that your assertion that the error message is misleading is incorrect. The error message is actually quite concise and accurate. See section 5.2.10 of the F95 standard.
I submitted a patch that will allow you to do gfortran -fno-range-check nonportable_code.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29147