[Bug fortran/102333] Invalid PROCEDURE statement accepted.

albert at tugraz dot at via Gcc-bugs <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.