http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34547

--- Comment #11 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #8)
> Confirmed, however compiling the second test in comment #0, namely
> 
>  integer, allocatable :: i(:)
>  print *, NULL(i)
> end
> gives an ICE with 4.8.1 and trunk (4.9)


"If an input item is a pointer, it shall be associated with a definable target
and data are transferred from the file to the associated target. If an output
item is a pointer, it shall be associated with a target and data are
transferred
from the target to the file." (F2008, "9.6.3 Data transfer input/output list")

And NULL(...) isn't. Fixed by Paul's patch at
http://gcc.gnu.org/ml/fortran/2013-11/msg00203.html

Reply via email to