------- Comment #6 from kargl at gcc dot gnu dot org 2007-06-18 04:26 ------- In section 7.1.6.2 (which you sight), I find
A function is a specification function if it is a pure function, is not an intrinsic function, is not an internal function, is not a statement function, does not have a dummy procedure argument, and is not defined with the RECURSIVE keyword. Isn't s1 a dummy procedure argument in PURE FUNCTION halfit(s1) RESULT (s2) CHARACTER(*),INTENT(IN):: s1 Yes, I do get the usage of actual and dummy argument confused at times. I think stringa is your actual argument and s1 the dummy argument. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32386