[Bug fortran/30922] IMPORT fails for same symbol in multiple interface bodies of same interface block
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 2 16:14:00 GMT 2007
------- Comment #1 from burnus at gcc dot gnu dot org 2007-03-02 16:14 -------
Another thing which currently fails in gfortran (and g95) is:
------------------------------------
module x
implicit none
integer, parameter :: d=8
interface
real(d) function y()
import
end function
end interface
end module x
------------------------------------
real(d) function y()
1
Error: Parameter 'd' at (1) has not been declared or is a variable, which does
not reduce to a constant expression
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-02 16:14:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30922
More information about the Gcc-bugs
mailing list