[Bug fortran/38918] compile time error for DATA of NULL() to pointer structure component
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 24 12:53:00 GMT 2009
------- Comment #3 from pault at gcc dot gnu dot org 2009-01-24 12:53 -------
Created an attachment (id=17174)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17174&action=view)
Fix for the PR -
OK'd http://gcc.gnu.org/ml/fortran/2009-01/msg00297.html
2009-01-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38917
* expr.c (gfc_check_assign): Allow pointer components when
checking for NULL.
PR fortran/38918
* resolve.c (check_data_variable): Treat pointer arrays with
scalars.
2009-01-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38917
PR fortran/38918
* gfortran.dg/data_pointer_1.f90: New test.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38918
More information about the Gcc-bugs
mailing list