[Bug fortran/50551] New: Argumentless NULL() cannot be used with assumed-length dummy (r178939)
zeccav at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 28 09:13:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50551
Bug #: 50551
Summary: Argumentless NULL() cannot be used with assumed-length
dummy (r178939)
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zeccav@gmail.com
! Argumentless NULL() cannot be used with assumed-length dummy (r178939)
! Fortran 95 corrigendum 2 page 91 line 41
interface
subroutine sub(x)
pointer x
character(*) x
end subroutine
end interface
call sub(null()) ! null() cannot be used with assumed length dummy
argument
end
More information about the Gcc-bugs
mailing list