This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32386] Pure function not allowed in specification expression
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2007 01:00:44 -0000
- Subject: [Bug fortran/32386] Pure function not allowed in specification expression
- References: <bug-32386-6246@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-06-18 01:00 -------
Not saying whether this is valid or not. However Intel ifort says:
fortcom: Error: john.f90, line 13: An automatic object is invalid in a main
program. [STRINGB]
CHARACTER(len(halfit(stringa))) :: stringb
-----------------------------------^
compilation aborted for john.f90 (code 1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32386