https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94104
Bug ID: 94104 Summary: Request for diagnostic improvement Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47999 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47999&action=edit Code demonstrating problems. Hi all! Minor nitpick, the attached program raises an error: $ gfortran ./diag.f90 ./diag.f90:10:16: 10 | print *, sumf(a) | 1 Error: Actual argument for ‘a’ must be a pointer at (1) in both: GNU Fortran (GCC) 9.2.1 20200307 and GNU Fortran (GCC) 10.0.1 20200307 (experimental) The diagnostic is a bit misleading as the variable can be pointer or target. Thank you very much. Best regards, José Rui