https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org
CC| |pault at gcc dot gnu.org
Last reconfirmed| |2024-11-04
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 59533
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59533&action=edit
Fix for this PR
This patch fixes the PR and regtests OK. The interfaces are correctly checked
elsewhere.
Interestingly, compiling with -std=f2003 produces:
26 | test_description = new_test_description(test)
| 1
Error: Fortran 2008: Internal procedure ‘test’ is used as actual argument at
(1)
The testcase should be expanded to include external, use associated and
intrinsic procedures. Also, an additional compile-only testcases with interface
errors and another with -std=f2003 should be added.
The other problem is beyond my paygrade and merits a PR of its own.
Cheers
Paul