This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran, F03] PR 58916: Allocation of scalar with array source not rejected


> It looks good to me - OK for trunk.

Thanks, Paul. Committed as r205894.

Cheers,
Janus



> On 11 December 2013 14:02, Janus Weil <janus@gcc.gnu.org> wrote:
>> Hi all,
>>
>> attached is a small patch which fixes accepts-invalid and
>> ICE-on-invalid problems on allocation with source. Regtested on
>> x86_64-unknown-linux-gnu. Ok for trunk?
>>
>> Cheers,
>> Janus
>>
>>
>> 2013-12-11  Janus Weil  <janus@gcc.gnu.org>
>>
>>     PR fortran/58916
>>     * resolve.c (conformable_arrays): Treat scalar 'e2'.
>>     (resolve_allocate_expr): Check rank also for unlimited-polymorphic
>>     variables.
>>
>>
>> 2013-12-11  Janus Weil  <janus@gcc.gnu.org>
>>
>>     PR fortran/58916
>>     * gfortran.dg/allocate_with_source_4.f90: New.
>
>
>
> --
> The knack of flying is learning how to throw yourself at the ground and miss.
>        --Hitchhikers Guide to the Galaxy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]