https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82313
Bug ID: 82313 Summary: Rejects-valid for sum(minloc(...))) as array dimension Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- This is a spin-off from PR 54633. integer y((sum(minloc((/1/)))) end is rejected with the (IMHO misleading) error message integer y((sum(minloc((/1/)))) 1 Error: Expected another dimension in array declaration at (1)