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.

Reply via email to