http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50376
Bug #: 50376 Summary: pure procedure allows assignment to iterator variable in array constructor Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: zec...@gmail.com Created attachment 25255 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25255 just compile it gfortran must allow in a PURE procedure assignment to iterator variable in array constructor