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 Tobias,
>> 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)"?
I'll take a quick look to see if there is a quick and easy fix -
otherwise. I'll post a PR.
I am going to start marking the summary of PRs that have a fix
pending, just to remind myself.
Paul
>
> 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.
>>>>
>
>
--
The knack of flying is learning how to throw yourself at the ground and miss.
--Hitchhikers Guide to the Galaxy