[Bug fortran/13155] New: Name mangling error

schnetter at aei dot mpg dot de gcc-bugzilla@gcc.gnu.org
Fri Nov 21 17:21:00 GMT 2003


I have an interface declaration in a module, as in 
 
module lapack 
  implicit none 
  public 
   
  interface geev 
     subroutine sgeev (jobvl, jobvr, n, a, lda, wr, wi, vl, ldvl, vr, & 
          &            ldvr, work, lwork, info) 
       character jobvl, jobvr 
       integer   info, lda, ldvl, ldvr, lwork, n 
       real      a(lda,n), vl(ldvl,n), vr(ldvr,n), & 
            &    wi(n), work(lwork), wr(n) 
     end subroutine sgeev 
 
etc. 
 
The function sgeev, when called, is mangled to "__lapack__sgeev" instead  
of "sgeev_".

-- 
           Summary: Name mangling error
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schnetter at aei dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13155



More information about the Gcc-bugs mailing list