http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48352
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |tkoenig at gcc dot gnu.org |gnu.org | --- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-03-31 18:31:22 UTC --- (In reply to comment #5) > reduced: > > INTEGER, DIMENSION(:), POINTER :: a > DO I=1,MIN(SIZE(a),SIZE(a)) > ENDDO > END Thanks, Joost. Slightly more reduced test case (from the point of stepping through the code): interface pure integer function f() end function f end interface DO I=1,min(f(),f()) ENDDO END Somehow, the insertion of the statement with the extra variable doesn't work for DO loops.