------- Comment #1 from burnus at gcc dot gnu dot org 2007-12-08 23:02 ------- According to NAG f95 the program is invalid; it prints at run time:
Unequal character lengths (1 and 2) in array constructor Program terminated by fatal error In ARRAY_CHAR, line 9 of aaa.f90 I actually would expect gfortran to diagnose this with -fbounds-check. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34396