This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50541] gfortran should not accept a pointer as a generic-name (r178939)


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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]