On Tue, Dec 18, 2012 at 04:40:10PM +0100, Tobias Burnus wrote:
> Looks mostly okay, however, I fear that for
> 
> subroutine foo()
> character(len=:), allocatable :: str
> allocate(str, stat=istat)
> end subroutine foo
> 
> compiled with "-fno-automatic", gfortran will still generate the
> non-GFC_PREFIX-mangled string.

That doesn't compile:
Error: Allocate-object at (1) with a deferred type parameter requires either a 
type-spec or SOURCE tag or a MOLD tag

Where would be TREE_STATIC set on the length variable with -fno-automatic,
and on which testcase?

        Jakub

Reply via email to