This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50541] gfortran should not accept a pointer as a generic-name (r178939)
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Sep 2011 17:36:10 +0000
- Subject: [Bug fortran/50541] gfortran should not accept a pointer as a generic-name (r178939)
- Auto-submitted: auto-generated
- References: <bug-50541-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50541
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011-09-27
CC| |janus at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |janus at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org 2011-09-27 17:36:10 UTC ---
This one is trivial:
Index: gcc/fortran/symbol.c
===================================================================
--- gcc/fortran/symbol.c (revision 179255)
+++ gcc/fortran/symbol.c (working copy)
@@ -504,6 +504,7 @@ check_conflict (symbol_attribute *attr, const char
conf (dummy, result);
conf (entry, result);
conf (generic, result);
+ conf (generic, pointer);
conf (function, subroutine);