[Patch, Fortran] PR 45577: [4.6 Regression] Bogus(?) "... type incompatible with source-expr ..." error

Mikael Morin mikael.morin@sfr.fr
Wed Sep 15 12:06:00 GMT 2010


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.



More information about the Gcc-patches mailing list