[PATCH] PR fortran/36251 -- Updated patched

H.J. Lu hjl.tools@gmail.com
Mon May 19 14:18:00 GMT 2008


Hi,

The testcase doesn't work:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36263


H.J.
On Sun, May 18, 2008 at 4:10 AM, Tobias Burnus <burnus@net-b.de> wrote:
> Steve Kargl wrote:
>>
>> Attached is an updated patch.  It now uses an error instead of
>> a warning when PUBLIC or PRIVATE is abused.  It also catches
>> fixes the ICE on abusing BIND(C) and issues an error.
>>
>
> OK. I checked it into the trunk as Rev. 135495.
> Thanks for the patch.
>
> Tobias
>
>> 2008  Steven G. Kargl  <kargls@comcast.net>
>>
>>        PR fortran/36251
>>        * symbol.c (check_conflict): Issue errors for abuse of PUBLIC,
>> PRIVATE,
>>        and BIND(C).
>>        * resolve.c (gfc_verify_binding_labels): Fix NULL pointer
>> dereference.
>>
>> 2008  Steven G. Kargl  <kargls@comcast.net>
>>
>>        PR fortran/36251
>>        gfortran.dg/public_private_module.f90: new test.
>>        gfortran.dg/bind_c_module.f90: new test.
>>
>>
>
>



More information about the Fortran mailing list