------- Comment #1 from kargl at gcc dot gnu dot org 2010-05-31 16:29 ------- Thanks for the bug report. Technically, the prohibition of nonnegative is on the programmer, and as such the code is illegal. gfortran can do anything it wants with the program including starting world war iii. OTOH, this appears to be a quality-of-implementation issue, and if gfortran can diagnosis the problem, and error should be emitted.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44346