[Bug fortran/82313] New: Rejects-valid for sum(minloc(...))) as array dimension
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 24 14:00:00 GMT 2017
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)
More information about the Gcc-bugs
mailing list