This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47360] GENERIC with proc-pointer components as specific functions
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Jan 2011 16:04:49 +0000
- Subject: [Bug fortran/47360] GENERIC with proc-pointer components as specific functions
- Auto-submitted: auto-generated
- References: <bug-47360-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47360
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-19 16:04:43 UTC ---
"R450 type-bound-generic-stmt
is GENERIC [ , access-spec ] :: generic-spec => binding-name-list"
"C467 (R450) Each binding-name in binding-name-list shall be the name of
a specific binding of the type."
"1.3.13 binding name: name given to a specific or generic type-bound procedure
in the type definition (4.5.5)"
And in 4.5.5:
"R447 type-bound-proc-binding is type-bound-procedure-stmt
or type-bound-generic-stmt
or final-procedure-stmt"
Hence, the example seems to be invalid as "f1" and "g1" are not type-bound
procedures. -> Close PR.