[Patch, Fortran] PR 45577: [4.6 Regression] Bogus(?) "... type incompatible with source-expr ..." error
Janus Weil
janus@gcc.gnu.org
Wed Sep 15 18:31:00 GMT 2010
2010/9/15 Mikael Morin <mikael.morin@sfr.fr>:
> Le 15.09.2010 11:18, Janus Weil a écrit :
>>
>> Hi all,
>>
>> here is a patch for this regression. It basically reverts the handling
>> of default initialization upon allocation to what it was before I
>> started messing with MOLD.
>>
>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>>
>> Cheers,
>> Janus
>>
>>
>> 2010-09-15 Janus Weil<janus@gcc.gnu.org>
>>
>> PR fortran/45577
>> * resolve.c (resolve_allocate_expr): Do default initialization via
>> EXEC_INIT_ASSIGN.
>>
>>
>> 2010-09-15 Janus Weil<janus@gcc.gnu.org>
>>
>> PR fortran/45577
>> * gfortran.dg/allocate_derived_4.f90: New.
>
> OK. Thanks.
Thanks, Mikael. Committed as r164305.
Cheers,
Janus
More information about the Fortran
mailing list