This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]