------- Comment #4 from rguenth at gcc dot gnu dot org 2009-07-12 14:30 ------- Instead, if the Fortran return type does not have POINTER, TARGET or ALLOCATABLE attributes the middle-end type for the result-decl should have TYPE_RESTRICT set if it is a pointer.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40726