------- Comment #1 from kargl at gcc dot gnu dot org 2006-09-13 20:11 ------- Yes, it appears to be related to spread. If you comment out the spread() in the subroutine the compiles. Additionally, if you change "x%position(:,1:2)" to "x%position(1:3,1:2)", then the code compiles. So, it looks like gfortran isn't interpreting the index ranges from spread correctly if the lefthand side doesn't have explicit ranges of indicies.
-- kargl at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-09-13 20:11:14 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29060