This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR38917 and PR38918 - DATA and pointers
Dear Paul,
Paul Richard Thomas wrote:
> Here is another try... it no longer seg-faults on the invalid, at least:-)
>
Thanks. The patch is OK. Shall we open a PR for the incomprehensible
error message for "null(p)"?
Tobias
>>> 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.
>>>