------- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-05-20 01:21 ------- I have observed the problem with no initialization. This may be a hint.
real :: a(3), b(2) a = COS(b) print *, a end -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32002