------- Comment #5 from dominiq at lps dot ens dot fr  2007-02-14 21:00 -------
On AMD64, gfortran x86_64-unknown-linux-gnu, 4.3.0 20061231, gives:

pr30793_1.f90:44.24:

  use class_scalar_field
                       1
Error: Name 'msh_' at (1) is an ambiguous reference to 'msh_' from module
'class_field'
pr30793_1.f90:50.10:

  mshp => msh_(quality)
         1
Error: There is no specific function for the generic 'msh_' at (1)

and Portland Group Fortran gives:

PGF90-S-0043-Illegal attempt to redefine symbol msh_ (pr30793_1.f90: 30)
  0 inform,   0 warnings,   1 severes, 0 fatal for class_scalar_field
  0 inform,   0 warnings,   1 severes, 0 fatal for get_scalar_field_msh

So the problem seems located around:

  interface msh_
    module procedure get_scalar_field_msh
  end interface

possibly conflicting with previous

  interface msh_
    module procedure msh_
  end interface

My understanding of f90 and above is not sufficient to say if the test cases
are valid or not.
>From what I ahve read in different list ifort seems very tolerant, at least
without option.


-- 


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

Reply via email to