------- Comment #10 from burnus at gcc dot gnu dot org 2006-11-15 20:50 ------- For dp (= kind) I really need to find out where to modify this. Somehow this is not properly recognized as constant expression. (Tested by using no "import" and commenting the check in variable_decl. This is essentially what happens with "import".)
* * * Some more tests: If one changes the module to a "program" or only puts the "dp" into a module, but the interface into a "program", "import :: dp" works. ("import" does not.) If the interface is in a module (same or different one than "dp"), the ICE occurs. "Import" does not work at all for kind=...; it works, however, for "type(mytype)", regardless whether it is in a module or not. "import :: mytype" does not work in a module. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27546