This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27546] [F2003] IMPORT not implemented
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2006 20:50:28 -0000
- Subject: [Bug fortran/27546] [F2003] IMPORT not implemented
- References: <bug-27546-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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