[Bug fortran/84313] New: [F08] reject procedure pointers in COMMON blocks
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 9 14:55:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84313
Bug ID: 84313
Summary: [F08] reject procedure pointers in COMMON blocks
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: janus at gcc dot gnu.org
Target Milestone: ---
Procedure pointers in COMMON blocks are allowed per F03:R558, but forbidden per
F08:C5100. gfortran allows them at present (cf. PR 36592), so we need a check
to reject them.
The proc_ptr_common_1/2 tests then require the flag -std=f2003.
See also https://github.com/nncarlson/gfortran.dg/issues/5
More information about the Gcc-bugs
mailing list