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/34975] New: [4.3 Regression] Bogus error


The following was found when compiling the Quantum Espresso package,
http://www.quantum-espresso.org/.

I failed to reduce it further, currently I have:
  236 cell_base.f90
   56 constants.f90
  260 control_flags.f90
  119 electrons_base.f90
  164 ions_base.f90
    5 kind.f90
   15 modules.f90
   47 parameters.f90
   91 recvec.f90
   19 test.f90
 1012 total

The error message shown is:

test.f90:13.14:

  complex c0(n), betae, df,&
             1
Error: Symbol 'n' at (1) has no IMPLICIT type
test.f90:1.24:

subroutine dforceb(c0, i, betae, ipol, bec0, ctabin, gqq, gqqm, qmat, dq2, df)
                       1
Error: Symbol 'i' at (1) has no IMPLICIT type


However, there is:
  use electrons_base, only: nx => nbspx, n => nbsp, nspin, f
[...]
  integer ipol, i, ctabin


-- 
           Summary: [4.3 Regression] Bogus error
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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