http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53035
--- Comment #4 from kargl at gcc dot gnu.org 2012-04-25 20:15:40 UTC --- Here's a reduced testcase (15 minutes to reduce!). module syspars implicit none character (len = :), allocatable :: lens_dir contains function get_lens_dir () result (return_lens_dir) character (:), allocatable :: return_lens_dir return_lens_dir = lens_dir end function get_lens_dir end module syspars This is most likely a duplicate of one of the other PRs about deferred type parameters.