[Bug fortran/32386] Pure function not allowed in specification expression

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 18 01:01:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list