------- Additional Comments From steven at gcc dot gnu dot org 2005-09-10 14:56 ------- If I replace the declaration of a in foo with, integer :: a(0:1) then the test does pass. So this seems to be a problem with assumed shape arrays.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18899