[Bug fortran/102333] Invalid PROCEDURE statement accepted.

albert at tugraz dot at gcc-bugzilla@gcc.gnu.org
Thu Jul 30 18:13:05 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102333

--- Comment #26 from Christopher Albert <albert at tugraz dot at> ---
Created attachment 65178
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65178&action=edit
0001-fortran-Diagnose-allocatable-PROCEDURE-results-early.patch

Supersedes attachment 64075. This version uses gfc_check_conflict before
add_hidden_procptr_result and carries the required Assisted-by attribution.
The valid pointer form remains accepted and the allocatable form gets the
PROCEDURE/ALLOCATABLE conflict diagnostic. check-fortran and the libgomp
Fortran suites are clean.


More information about the Gcc-bugs mailing list