This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] PR 45577: [4.6 Regression] Bogus(?) "... type incompatible with source-expr ..." error


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.



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