------- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-31 23:07 ------- Why not create a new i for the inner loop instead of saving it off? Or is: integer :: n, i n = 5 n = sum((/(i,i=1,f())/)) contains function f() integer :: f f = i+1 end
valid and well defined? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29458