------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-19 07:30 ------- This is probably invalid code.
ifort rejects this with fortcom: Error: elem-char.f90, line 5: A CHARACTER function name must not be declared with an asterisk type-param-value (i.e., (LEN=*)) if the function is an internal function. [FOO] elemental function foo(a) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22518