Skip to content
Snippets Groups Projects
Commit 68577e56 authored by Erik Edelmann's avatar Erik Edelmann Committed by Erik Edelmann
Browse files

re PR fortran/21625 ([4.0 only] Nested derived type pointer component not initialized on ALLOCATE)

	PR fortran/21625
	* resolve.c (expr_to_initialize): New function.
	(resolve_allocate_expr): Take current statement as new
	argument. Add default initializers to variables of
	derived types, if they need it.
	(resolve_code): Provide current statement as argument to
	resolve_allocate_expr().

From-SVN: r105642
parent 8c2805d1
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment