This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50541] New: gfortran should not accept a pointer as a generic-name (r178939)
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Sep 2011 14:21:01 +0000
- Subject: [Bug fortran/50541] New: gfortran should not accept a pointer as a generic-name (r178939)
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50541
Bug #: 50541
Summary: gfortran should not accept a pointer as a generic-name
(r178939)
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zeccav@gmail.com
! gfortran should not accept a pointer as a generic-name (r178939)
pointer s ! gfortran should complain here
interface s ! or here
function f()
! this is the right place to specify the pointer attribute
pointer f
end function
end interface
end