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/23516] New: IMAG is not a generic function when implicit none is declared


The following code does not compile

      program bug
      implicit none
      double complex blop
      double precision blopr
      blopr=imag(blop)
      blopr=sin(blop)
      end

removing "implicit none" will let the code to compile. The compiler accepts sin as a generic function but 
not imag.

-- 
           Summary: IMAG is not a generic function when implicit none is
                    declared
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: federico dot carminati at cern dot ch
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: darwin Kernel Version 7.8.0; root:xnu/xnu-
                    517.11.1.obj~1/RELEASE


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


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