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: "kargl 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:46:09 -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 #2 from kargl at gcc dot gnu dot org 2007-06-18 01:46 -------
According to Lahey, the code is invalid.
Lahey/Fujitsu Fortran 95 Source Check Output
Compiling program unit halvestring at line 1:
Compiling program unit testspec at line 9:
2049-S: "SOURCE.F90", line 13: Automatic object 'stringb' cannot be specified
in the main program unit.
Encountered 1 error, 0 warnings, 0 informations in file SOURCE.F90.
Compiling file SOURCE.F90.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32386