https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97408
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|anlauf at gcc dot gnu.org |unassigned at gcc dot gnu.org --- Comment #3 from anlauf at gcc dot gnu.org --- Tobias, can you help explain which parts of the following program are legal then? program p implicit none integer :: i print *, [ integer :: (int (1 , kind=i), i=4,4) ] print *, [ (int (1 , kind=i), i=4,4) ] print *, (int (1 , kind=i), i=4,4) end Lines 4 and 5 have array constructors, line 6 is just an ac-implied-do. So by what was quoted lines 4 and 5 are legal, but line 6 is maybe not. That would be very odd and not much fun to check.