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

zeccav at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 27 14:28:00 GMT 2011


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



More information about the Gcc-bugs mailing list