Skip to content
Snippets Groups Projects
Commit 110eec24 authored by Tobias Schlüter's avatar Tobias Schlüter Committed by Tobias Schlüter
Browse files

re PR fortran/18990 (ICE in gfc_get_derived_type, at fortran/trans-types.c)

fortran/
	PR fortran/18990
	* gfortran.h (gfc_charlen): Add resolved field.
	* expr.c (gfc_specification_expr): Accept NULL argument.
	* resolve.c (gfc_resolve_charlen, gfc_resolve_derived): New.
	(gfc_resolve_symbol): Resolve derived type definitions.  Use
	resolve_charlen to resolve character lengths.
testsuite/
	PR fortran/18990
	* gfortran.dg/der_charlen_1.f90: New.

From-SVN: r108946
parent e0e85e06
No related branches found
No related tags found
No related merge requests found
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