[Patch, fortran] PR38917 and PR38918 - DATA and pointers

Tobias Burnus burnus@net-b.de
Sat Jan 24 12:49:00 GMT 2009


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.
>>>       



More information about the Fortran mailing list