[Bug fortran/58224] -fcheck=pointer should detect that an unallocated allocatable data-target is forbidden
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 24 20:49:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58224
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
CC| |janus at gcc dot gnu.org
--- Comment #2 from janus at gcc dot gnu.org ---
Very related: -fcheck-pointer should also detect when a null pointer is
deferenced, like here:
integer, pointer :: p => null()
print *,p
end
More information about the Gcc-bugs
mailing list