------- Comment #2 from dominiq at lps dot ens dot fr 2007-12-08 23:08 ------- > I actually would expect gfortran to diagnose this with -fbounds-check.
Me too, but this works only if the lengths are correctly computed. The test case pass the bounds check. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34396