------- Comment #8 from burnus at gcc dot gnu dot org 2006-11-15 16:44 ------- Reopened. I should have really read this bugreport and tested the example of comment 0. My test cases worked, but this one does not:
internal compiler error: module symbol dp in wrong namespace #4 0x0000000000478002 in gfc_create_module_variable (sym=0xdddd10) at fortran/trans-decl.c:2761 #5 0x00000000004587de in traverse_ns (st=0xda3080, func=0x477f00 <gfc_create_module_variable>) at fortran/symbol.c:2603 #6 0x00000000004587c6 in traverse_ns (st=0xda25e0, func=0x477f00 <gfc_create_module_variable>) at fortran/symbol.c:2606 #7 0x00000000004648de in gfc_generate_module_code (ns=0x4) at fortran/trans.c:672 Using only "IMPORT": real (kind=dp) :: x 1 Error: Parameter 'dp' 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|RESOLVED |REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27546